Tools
English

Neogie CSV · Developers and SEO

CSV to JSON and JSON to CSV converter

Short address neogie.com/csv

Paste a CSV or a JSON: the conversion and a table preview appear right away.

Options

Everything happens in your browser: nothing you type is sent.

From CSV to JSON

CSV is a table written as text: one line per record, values separated by a character. JSON is the exchange format of APIs and applications. The tool reads your CSV according to the RFC 4180 standard: a field can be in quotes to contain the delimiter or a line break, and a quote is doubled ("").

The delimiter can be detected automatically (comma, semicolon used by spreadsheets in many countries, tab, vertical bar) or chosen by hand. With the headers in the first row you get an array of objects; without them, an array of arrays.

From JSON to CSV

The expected JSON is an array of objects, or an array of arrays. The columns are all the keys found; a missing key gives an empty cell. A nested value (object or array) is written as JSON in its cell. Cells that contain the delimiter, a quote or a line break are wrapped in quotes.

Typed values and limits

By default, 42 becomes a number, true and false booleans, null a null value. Text in quotes always stays text. Untick the option to keep everything as text. Values with leading zeros, such as 007, always stay text. The file is limited to 20 MB and the preview to the first 100 rows.

Frequently asked questions

Is my data sent to a server?

No. The conversion happens in your browser: a file you open is read locally and nothing is sent. Only your settings are kept in the browser's storage, never your data.

Why do my accented characters display wrongly?

The file is read as UTF-8. A CSV exported from an old spreadsheet in Windows-1252 must first be saved again as UTF-8. The CSV downloaded from the tool is UTF-8 with a byte order mark, which spreadsheets recognize.

My CSV uses semicolons: what should I do?

Nothing: automatic detection recognizes them. You can also choose the delimiter by hand if the result looks wrong.

What does the tool do with rows shorter or longer than the header?

Missing cells are null in JSON, extra columns are given a name (column5…), and a warning tells you how many rows are irregular.

Similar tools

Neogie SnippetSERP Snippet Preview ToolType a title and a description: the simulated result shows where they will be cut off. Neogie Base64Base64 Encoder and Decoder: Text, Files and JWTType on one side, the result appears on the other. Text, files and JWT tokens, with nothing uploaded. Neogie CRC32CRC-32 Calculator for Text and FilesThe checksum of a text as you type, or that of a file you want to compare. Neogie FileDiffCompare two files or folders: text and bytesDrop two files or two folders: differences appear at once, by line for text and by byte for everything else. Neogie BinaryBinary Translator: Text to Binary and BackType a message to see it in 0s and 1s, or paste binary to read it. Neogie EpochUnix Timestamp Converter: Epoch to Date and BackPaste a Unix timestamp or a date: the conversion shows in UTC, local time and ISO 8601. Neogie HexText to Hex and Hex to Text ConverterType text to see its bytes, or paste hexadecimal to get the text back. Neogie PunycodePunycode Converter for Internationalized Domain Names (IDN)Turn a domain name with accents or other scripts into its “xn--” form, and back. Neogie JWTJWT Decoder: read a token and verify its signaturePaste a JWT: its content appears, with the dates in plain language and the expiry status. Neogie Ascii85Ascii85, Z85 and Base85 Encoder and DecoderText or files to Base85 and back: five characters for every four bytes. Neogie Base32Base32 Encoder and DecoderText or files to Base32 and back, with the three most used alphabets. Neogie Base58Base58 and Base58Check Encoder and DecoderText or files to Base58 and back, with the Base58Check checksum if you want it. Neogie URLURL Encoder and Decoder (Percent-Encoding)Type on one side, the other fills in: addresses, parameters and form data, with every part spelled out. Neogie EntitiesHTML Entity Encoder and DecoderShow code or special characters without breaking the page: the result follows your typing. Neogie CronCron Expression Explained: Plain English and Next RunsPaste a cron expression: it is explained in a sentence, with its next run times. Neogie CSSCSS Formatter, Checker and MinifierPaste your style sheet: it is tidied up or compacted, and errors are reported. Neogie HTMLHTML Formatter, Checker and MinifierPaste your code: it is indented or compacted instantly, and structural errors are reported. Neogie JSONJSON Formatter and Validator OnlinePaste your JSON: it is checked and tidied up instantly, with the line and column of every error. Neogie SQLSQL Formatter Online: Indent and MinifyPaste a one-line query: it comes out split into clauses, ready to review. Neogie XMLXML Formatter and Validator OnlinePaste your XML: it is checked and indented instantly, with the line and column of the first error. Neogie MetaMeta Tag and Open Graph GeneratorFill in the fields: the preview and the code to paste into your page update instantly. Neogie RobotsRobots.txt Generator and TesterBuild the rules for search engine crawlers, then check which addresses they can visit. Neogie SitemapXML Sitemap Generator from a URL ListPaste your page URLs: your XML sitemap is ready to download. Neogie UUIDUUID Generator: v4, v7, in bulkPick the version, the quantity and the format: the identifiers are generated in your browser. Neogie MarkdownMarkdown to HTML: preview and code to copyType or paste Markdown: the preview and the HTML update as you write. Neogie RegexRegex Tester Online: JavaScript Regular ExpressionsType a pattern and some text: matches and their groups are colored as you type.