Buy Me a Coffee at ko-fi.com
๐Ÿ“š News and Articles ๐Ÿค– AI Chat Assistant โ™Ÿ๏ธ AI Chess Tutor ๐Ÿ–ผ๏ธ AI Photo Restoration ๐Ÿ”ฒ Aspect Ratio Calculator ๐Ÿงฝ Background Remover ๐Ÿงฎ Calculator ๐Ÿ“„ Cheatsheets ๐ŸŽจ Color Picker ๐ŸŒˆ ColorReviveAI - colorize your photos ๐Ÿ’ญ Complete My thoughts (AI) ๐Ÿ–ค Convert your Photos to Black and White ๐Ÿ”„ CSV - JSON Converter ๐Ÿ“š Dictionary - Word Definitions ๐Ÿ’ธ Discount/Tip Calculator ๐Ÿ”— Embeddable Calculator Widget ๐Ÿ˜ Emoji Search - Discover and copy emojis instantly ๐Ÿงพ Exif Data Viewer โœ๏ธ Grammar, Spelling & Style Checker ๐Ÿงน Exif Data Remover ๐Ÿงน Javascript Formatter ๐Ÿ’ป Javascript Editor and Tester ๐Ÿ“ JSON Schema Validator ๐Ÿ“„ Markdown to PDF Converter ๐Ÿ“„ PDF Utilities - Complete PDF Toolkit - Merge, Split, Edit & Watermark Online ๐Ÿ–Œ๏ธ Photo Editor ๐ŸŒ Photo Background Changer ๐ŸŽฏ Pretty HTML Formatter ๐Ÿงพ JSON Formatter ๐Ÿ“ Markdown Editor ๐Ÿ”ณ QR Code Generator ๐Ÿ” Regular Expression (regex) Tester โœ๏ธ Sketch ๐Ÿ“Ž Snippets of Javascript ๐Ÿ’ป SQL Query Formatter - Beautify and format your SQL queries for better readability ๐Ÿ—ฃ๏ธ TalkToMe: Text-to-Speech AI ๐Ÿ–ผ๏ธ Text-to-Image AI ๐Ÿ” Translate Code โŒจ๏ธ Typing Speed Test ๐Ÿ›’ Search Buy and Sell Sites ๐Ÿ“ Shopping List ๐Ÿงต String Utilities ๐Ÿ“ฑUkulele / Guitar Tuner for Mobile ๐ŸŒ URL Decoder & Encoder ๐ŸŒค๏ธ Weather Forecast ๐Ÿ“ What's My IP Address Wordless ๐ŸŽฏ Five letters. Six tries. Every puzzle is a new theme. Can you crack it? Wordcross Puzzles ๐Ÿ”  Swipe to connect letters and find all words ๐Ÿ•’ World Clock ๐Ÿ—บ๏ธ World Map ๐Ÿงพ XML Formatter ๐Ÿงช XSLT Tester ๐Ÿ“ฑ Android Asset Studio

This converter lets you convert CSV to JSON and JSON to CSV. Just paste your CSV or JSON and then click the convert button. It uses the Ace embeddable code editor to add editing and error checking. It checks if you JSON is well-formed. If errors are found they are highlighted in the left gutter on the lines that errors were found. Hover over the error icons to see a description of the error. If there are errors found correct them and click the convert button again.

This editor works entirely in your browser. Your CSV/JSON is not sent to any server. If you close the browser or tab the current state of the editor is saved. If you don't want your CSV/JSON saved remember to clear the editor before closing. We value Privacy!

What is JSON?

JSON is:

  • a "lightweight" syntax for storing and exchanging data
  • an acronym of JavaScript Object Notation
  • language independent - JSON is text only and can be read and used by any programming language
  • self-describing and easy to read.

What is CSV?

CSV:

  • is an acronym of Comma Separated Values
  • is plain text using a character set such as ASCII, UTF-8, etc
  • is a set of records - typically one record per line, and each record divided into fields separated by delimiters (typically a single reserved character such as comma, semicolon, or tab). This converter automatically detects delimiters.
  • is a file where every record has the same sequence of fields
  • are to create being just plain text
  • allow you to organize large amounts of data
  • are easy to import into a spreadsheet or another database

How are CSV files used?

CSV files can be used with many spreadsheet applications, such as Microsoft Excel or Google Sheets. CSV files only allow a single sheet in a file, and you cannot not save formulas.

Example JSON formats that can be converted to CSV:

Two-line, comma-delimited file
[
                ["1-1", "1-2", "1-3"],
                ["2-1", "2-2", "2-3"]
              ]
With implicit header row (keys of first object populate header row)
[
                {
                  "Column 1": "foo",
                  "Column 2": "bar"
                },
                {
                  "Column 1": "abc",
                  "Column 2": "def"
                }
              ]
Specifying fields and data explicitly
{
                "fields": ["Column 1", "Column 2"],
                "data": [
                  ["foo", "bar"],
                  ["abc", "def"]
                ]
              }
              

Example CSV format:

Specifying fields and data explicitly
One,two,three
              1,2,3
              4,5,6
              7,8,9
              10,11,12
              

Editor Features

  • Open a local CSV o JSON file
  • Download your converted code to a file
  • Specify whether to use first row for field names when converting from CSV to JSON
  • Syntax highlighting
  • Automatic indent and outdent
  • Live syntax checking
  • Handles large documents
  • Search and replace with regular expressions (Ctrl-F)
  • Highlight matching parentheses
  • Drag and drop text using the mouse
  • Line wrapping
  • Code folding
  • Multiple cursors and selections
  • Cut, copy, and paste