Como converter CSV em JSON (grátis)
- Escolher
- Colar
- Copiar
You want to use spreadsheet data in a program or web service. Or conversely, view JSON data as a table. Convert CSV and JSON converts between CSV and JSON. What you paste is converted inside this device and sent nowhere.
Steps (CSV → JSON)
- For "Direction", choose "CSV → JSON".
- Choose the "Delimiter (CSV)" (comma, tab or semicolon).
- Paste the CSV into "Before conversion".
- If needed, tick "Use the first row as headings (CSV → JSON)".
- Press "Convert".
- The result appears under "After conversion". Use it with "Copy result" or "Save as file".
What CSV and JSON are
- CSV: table data separated by commas and so on. Can be opened in Excel.
- JSON: a way of writing data often used in programs. Written in the form "name: value".
Conversion example
CSV:
name,age
Yamada,30
Sato,25
JSON (with the first row as headings): two records, each with the items "name" and "age", lined up.
Bom para
- Passing Excel data to a web app or program
- Viewing API results (JSON) as a table
- Changing the format of a configuration file
- Checking data formats for learning
Handy features
- "Put result back in input": use the result directly as the input for the next conversion.
- "Copy result": copies the result.
- "Save as file": saves it as a file.
Exemplo
Wanted to use a product list made in Excel as data for a website. Pasted it as CSV and converted to JSON. With the first row as headings it converted cleanly.
Common stumbling blocks
- Garbled characters: check the encoding and environment of where you pasted from.
- Wrong delimiter: choose again to match the data.
- Cannot convert: check the JSON syntax (brackets, commas).
Frequently asked questions
Can large data be converted?
Within what the device's memory allows. Convert very large data in parts.
Is the pasted data sent?
No. It is converted inside the browser.
Resumo
Choose the direction, paste and press "Convert". Mind the handling of headings and the delimiter.
Usar “Converter CSV e JSON” (grátis)Ferramentas que combinam com esta
- Remover linhas duplicadas e ordenar uma lista: Remova linhas duplicadas e ordene.
- Criar um arquivo ZIP: Reúna vários arquivos em um só ZIP.
- Contador de Caracteres (para Candidaturas e Trabalhos): Conte caracteres, linhas e folhas de manuscrito do seu texto.
Se este guia ajudou, uma pequena gorjeta significaria muito.
Enviar uma gorjeta (¥300)Enviar um presente (lista de desejos da Amazon)