Conversor de texto para CSV
Cole ou envie qualquer texto delimitado, lista ou JSON. Tenha CSV, TSV, pipe, HTML ou JSON limpos em segundos — tudo no seu navegador.
Aqui aparece uma prévia da tabela dos seus dados.
Tip: the output is set to CSV — switch the Saída como menu to TSV, pipe, fixed-width, plain text, HTML table or JSON whenever you need a different format.
Converter texto em CSV — e nove outros formatos
The converter above is built around the most common job, text to CSV, but it also exports the formats people search for next, so you rarely need another tool.
TXT para CSV
Envie um .txt e baixe um CSV limpo.
Open →CSV para texto
Inverta: transforme CSV em texto simples ou delimitado.
Open →CSV to delimited text
Saída com vírgula, tab, pipe, espaço ou largura fixa.
Open →JSON para CSV
Achatar um array JSON de objetos em linhas.
Open →CSV to HTML table
Gerar uma <table> HTML para colar numa página.
Open →Converter em lote
Converter até 50 arquivos de texto de uma vez.
Open →Como converter texto em CSV
Colar ou enviar
Cole seu texto ou lista na caixa, ou solte um arquivo .txt / .csv. A ferramenta lê no seu navegador — nada é enviado a um servidor.
Verifique a prévia
Detecta automaticamente o delimitador e mostra uma tabela em tempo real com contagem de linhas e colunas para identificar problemas antes de baixar.
Baixar o CSV
Mantenha a saída em CSV (ou escolha outro formato) e clique em Baixar ou Copiar. O arquivo cai instantaneamente na pasta de downloads.
Um conversor completo de texto e CSV
Detecção inteligente de delimitador
Reconhece automaticamente vírgula, tabulação, pipe e ponto e vírgula, com ajuste manual e análise de largura fixa.
Prévia da tabela em tempo real
Veja seus dados em grade antes de exportar, com aviso quando as linhas tiverem colunas inconsistentes.
Compatibilidade com Excel
UTF-8 BOM para codificação correta e opção segura para Excel que protege zeros à esquerda e números longos.
Dez formatos de saída
CSV, TSV, pipe, espaço, ponto e vírgula, delimitador personalizado, largura fixa, texto simples, tabela HTML e JSON — uma ferramenta, todos os formatos.
Privado por design
Todo o processamento acontece localmente no seu navegador. Seu texto nunca sai do dispositivo, tornando-o seguro para dados sensíveis.
Copiar, baixar, histórico
Copie o resultado, baixe um arquivo ou reabra uma conversão recente salva localmente no dispositivo.
Quem usa — e para quê
De trabalhos rápidos a fluxos diários, aqui estão os cenários mais comuns onde este conversor economiza tempo.
Limpar um relatório colado
Copie linhas de um PDF, e-mail ou tabela web, cole, e tenha instantaneamente um CSV limpo pronto para Excel ou Google Sheets. A prévia detecta colunas irregulares antes da importação.
Converter um log ou exportação de config
Arquivos de log com pipe, dumps de config alinhados por espaço e respostas JSON de API se convertem em um passo. Selecione o formato de entrada, escolha CSV ou TSV, e copie o resultado direto para o código.
Preparar importação de contatos
Transforme uma lista de nomes, e-mails e telefones em texto simples em CSV estruturado para enviar ao Mailchimp, HubSpot ou Salesforce. Use a opção de cabeçalho para rotular cada coluna.
Corrigir formato de exportação bancária
Muitas exportações bancárias usam ponto e vírgula ou pipe que o Excel lê errado. Converta para CSV com vírgula, UTF-8 BOM e números seguros para preservar zeros à esquerda e IDs longos.
Estruturar lista de palavras-chave
Cole uma exportação de palavras-chave do Google Search Console, Ahrefs ou SEMrush, detecte o delimitador automaticamente, e baixe um CSV limpo para ordenar e filtrar imediatamente.
Processar arquivos de largura fixa
Sistemas ERP e bancários legados frequentemente geram arquivos de largura fixa. Especifique as larguras manualmente e a ferramenta divide cada linha em colunas corretas sem escrever código.
Formatos de saída explicados
Choosing the right output format is the difference between data that just works and a file another program rejects. Here is what each option in the Saída como menu produces, and when to use it.
CSV (comma-separated values)
The default and most portable choice. Fields are separated by commas and any field containing a comma, quote or line break is wrapped in double quotes, following the standard CSV rules. CSV opens in Excel, Google Sheets, databases and virtually every data tool.
TSV, pipe, semicolon and custom delimiters
Sometimes your data already contains commas, or a target system expects another separator. Tab-separated (TSV) is the safest for messy text; pipe (|) and semicolon (;) are common in exports and European spreadsheets. Pick Delimitador personalizado to type any character.
Which delimiter should you pick?
For Excel and Google Sheets
CSV works everywhere; if your locale uses a comma as the decimal mark, semicolon-delimited may import more cleanly. Enable UTF-8 BOM so non-Latin text is read correctly.
For databases and legacy systems
Tab or pipe delimiters avoid clashes with comma-containing values. Many import tools and older systems specifically expect pipe-delimited or fixed-width files.
A note on quotes and encoding
Use Tudo com aspas when an importer is strict, or Sem aspas for the simplest possible output. Keep encoding as UTF-8 to preserve accents and CJK characters.
Fixed-width and plain text
Fixed-width pads every column to a set width so the file lines up in a monospace view — still used in banking and mainframe feeds. Plain text strips structure for a human-readable list, one row or one cell per line.
HTML table and JSON
Generate an HTML <table> to paste straight into a web page, or export JSON (an array of objects keyed by your header row) for APIs and JavaScript. These are the convert csv to html table and json to csv jobs handled on their own pages too.
Conversões populares de texto e CSV
Each of these has a dedicated, focused tool with examples and tips:
Situações reais resolvidas
- Tidy a copied list. Paste names, emails, addresses or a keyword list and get a structured CSV for a spreadsheet or import tool.
- Reshape an export. Convert a system's CSV into tab, pipe, space or fixed-width text so another tool can read it without writing code.
- Clean scraped or OCR text. Turn pasted, semi-structured text into a table you can analyze in seconds, not minutes.
- Prepare a database import. Standardize many text files into consistent CSV, then load them into a database or BI tool.
- Fix Excel headaches. Keep leading zeros, long IDs and encoding intact when opening CSV in Excel using BOM and Excel-safe number options.
- Convert for APIs. Export as JSON to feed your data directly to an API or JavaScript application without a separate conversion step.
Confiável para conversões rápidas
"Colei uma lista de 2.000 linhas e tive um CSV limpo em segundos. A opção segura salvou meus CEPs."
— Analista de dados"Finalmente um conversor que não envia meus arquivos. A detecção de delimitador simplesmente funciona."
— Desenvolvedor backend"A prévia da tabela pega linhas ruins antes da importação. Enorme economia de tempo."
— Engenheiro de operaçõesConversor texto para CSV — perguntas frequentes
Como converter texto em CSV?
Paste your text into the converter above (or upload a .txt file), and it instantly detects the delimiter and shows a table preview. Keep the output set to CSV and click Baixar resultado or Copiar. Everything runs in your browser, so your data is never uploaded.
Como escolher o delimitador certo?
Leave the input on Detecção automática and the tool guesses comma, tab, pipe or semicolon from your data. If the columns look wrong, set the input format to Texto delimitado and pick the delimiter manually, or use Largura fixa for space-aligned columns.
Suporta outros idiomas e UTF-8?
Yes. Text is handled as UTF-8, so accents, Chinese, Japanese and other characters are preserved. For Excel, tick UTF-8 BOM so it opens non-Latin characters correctly instead of showing garbled text.
Abre corretamente no Excel?
Yes. Use CSV output and enable UTF-8 BOM for encoding, and Números seguros para Excel to keep leading zeros and long IDs from turning into scientific notation. See fix CSV Excel formatting issues for the full guide.
Há limite de tamanho de arquivo?
There is no hard limit, but very large files depend on your device's memory since everything runs locally. For big jobs see the large text file to CSV converter, and for many files at once use the batch converter.
Posso converter CSV de volta para texto?
Yes — use Trocar, or open the CSV para texto and CSV to delimited text tools to export tab, pipe, space or fixed-width text from any CSV.
A ferramenta é totalmente grátis?
Yes. There is no sign-up, no account, no paywall and no file size tier. Every feature is available to everyone. The site is supported by unobtrusive advertising, which keeps it free without restricting any functionality.
Que tipos de arquivo posso enviar?
You can upload .txt, .csv, .tsv and .json files by clicking the drop zone or dragging a file onto it. You can also paste text directly from the clipboard, including rows copied from Excel, Google Sheets or any web table.
Posso converter JSON em CSV?
Yes. Select JSON as the input format (or leave it on Auto-detect) and the tool flattens a JSON array of objects into CSV rows, one object per row. Nested objects are stringified. For a dedicated view see the JSON para CSV page.
Funciona offline?
Once the page has fully loaded, the conversion engine works entirely without a network connection. All processing is done in your browser using JavaScript, so you can convert files even on an airplane or with a spotty connection.
O que "Números seguros para Excel" faz?
Excel automatically reformats certain values when it opens a CSV: zip codes starting with 0 become plain integers, and long numeric IDs (16+ digits) get converted to scientific notation. Enabling Números seguros para Excel wraps those values in quotes or adds an equals-sign prefix so Excel treats them as text and preserves every digit.
Posso converter uma lista de um item por linha em colunas CSV?
Yes. If each line in your list represents a row, paste it in and use Auto-detect — the tool will treat each line as a single-column row. If you want multiple items per row joined by a delimiter, set the output to your preferred format and use the Colunas de texto para CSV tool for more control over multi-column layouts.