CSV and JSON are ubiquitous data formats for the Internet age.
CSV or Comma Separated Values is widely used for tabular data and often associated to spreadsheet applications like Excel. Many data reporting tool output to CSV format. TSV or Tab Separated Values is a close brother used in Clipboards to copy and paste table data to/from Excel for example. Find out more about CSV on the CSV to JSON page by scrolling below the text areas.
As a developer, format conversion is something I sometimes have to do. I often look online for solutions and tools finding they only cover partly my needs.
CSVJSON is a do-it-myself and more permanent solution. Its best feature? You can save your session for later, and share it with a co-worker.
If you find bugs or would like an improvement, please leave a comment below or open an issue on GitHub.
I hope it can be useful to you. Happy conversions!
Flatfile is proud to sponsor CSVJSON.
Are you a developer tasked with parsing CSV files? Embed all the functionality of CSVJSON into any web application with Flatfile. Auto-match columns, validate data fields, and provide an intuitive CSV import experience.
Any data pasted and converted on CSVJSON remains local on your computer. Data is never sent to the server. Three exceptions are:
Integrated design for sponsorship by Flatfile.
csv2json now available as a npm package.
Improvement: Removed 64k limit on download button.
Confidentiality statement and improvements on Data Janitor.
Added a new tool Data Janitor to perform Excel and Google Sheets data cleaning and transformation.
Added a copy-to-clipboard button and upgraded underscore and backbone to latest versions.
Added a new tool JSON Validator to validate and format JSON. Integrates a beautiful code editor (CodeMirror) with interactive JSON linting.
Improvements to CSV converters to support CSVJSON format variant (csvjson.org).
Added a new converter: JSON to CSV.
New button to report a bug or ask for improvements.
SQL to JSON parsing bug fix. Convert
SQL to JSON parsing bug fix. Do not split when detecting a comma in a string value: GitHub Issue #25.
SQL to JSON parsing bug fix: GitHub Issue #22.
CSV to JSON improvement: GitHub Issue #13 - Added option to parse number values or not to retain original number formatting.
JSON Beautifier bug fix and improvement: GitHub Issue #12 - Inline short arrays bug fix and improvement. Added nesting depth option.
SQL to JSON bug fix: GitHub Issue #11 - support multile values in single-line INSERT INTO statement.
JSON Beautifier bug fix: Inline short arrays was not working properly. GitHub issue #9
CSV to JSON bug fix: If no text is present in a csv field, it was assigned 0 (zero) by default.
CSV to JSON bug fix: strings containing quotes and commas were prematurely cut.
Make the GitHub repository public again. Re-opened to community.
Added options to CSV to JSON: