Your country

Tools that support it use your country for local currency, number formats, units and paper size. Your choice is saved only in this browser.

Type a name or a two-letter code. Use the up and down arrow keys to move through the countries, Enter to choose one and Escape to close.

JSON, YAML, XML and CSV tools

Validate and format JSON, YAML and XML with exact error positions, convert JSON, CSV, Excel, YAML, TOML and XML, and compare or open big data files.

  • 40 tools
  • Free previews, no sign-up

All 40 tools here need a pass: Pro unlocks 35, Premium all 40 · See passes

Go to the 40 tools

Reading, fixing and converting structured data

For developers, data analysts, testers and anyone handed a file in a format they need to read or change: an API response that will not parse, a YAML config with a hidden mistake, a CSV that has to become JSON, or a data file too large for a text editor. The tools point to the exact line and column of a problem and keep values exact when they convert.

How to choose

Choose by what you need to do with the data:

XML attributes, YAML comments and spreadsheet formatting do not all survive every conversion, so look at the preview before you rely on the result.

The main tools, compared

Tool When to pick it What you give it What you get Works offline Stays on your device
JSON Formatter Pro tool Pretty-prints or minifies JSON, repairs common slips on request and points to the exact place of any error that remains. Code or JSON Free preview: the first lines of the formatted or minified JSON (up to 20), with every syntax check, warning and size Yes Yes
JSON Validator Pro tool Applies the JSON standard strictly, reports the line, column and reason of the first error, and lists every path in a valid document. Code or JSON Free preview: every count and syntax error, with the first warnings and JSON paths of the report (up to 10) Yes Yes
Sample CSV & Excel Files (Test Data Download) Pro tool Hands you realistic test spreadsheets in CSV or Excel, at the number of rows you choose, to practise on or to try an import with. Nothing — start blank Free preview: the first rows of the file you choose (up to 10, at most half of its rows; a one-row file with its values hidden), with its columns and exercises Yes Yes
CSV to JSON Converter Pro tool Converts CSV to JSON and back, detecting the delimiter and keeping numbers, dates and leading zeros typed safely, with a preview table. Spreadsheet or CSV, Code or JSON Free preview: the first lines of the converted JSON or CSV (up to 20) and the first rows of its table (up to 10), with the row and column counts Yes Yes
JSON Viewer & Tree Editor Pro tool Opens a large JSON file as a fast, searchable tree you can edit, and copies the path of any value you select. Code or JSON Free preview: the summary counts of your document and of each search, and the first rows of the tree (up to 10) with their types, sizes and paths Yes Yes
JSON ↔ YAML Converter Pro tool Moves documents between JSON and YAML with numbers kept exact, and warns about YAML values such as yes and no that change meaning. Code or JSON Free preview: the first lines of the converted YAML or JSON (up to 20), with every warning about your input Yes Yes
JSON Schema Validator Pro tool Tests a document against a JSON Schema and lists every failure with its path, its line and how to fix it. Code or JSON Free preview: the verdict and every count, with the first problems and schema warnings (up to 10); errors that stop your JSON or schema from being used show in full Yes Yes
JSON Diff & Compare Pro tool Compares two JSON documents by structure rather than text, and exports the difference as a JSON Patch or a Merge Patch. Code or JSON Free preview: every difference count, the first rows of each view (up to 10) and the first lines of the patch or the patched document (up to 20) Yes Yes

Worked example: finding the mistake in an API response that will not parse

A 58-byte JSON document holds a name, a list of items and a flag, but a client refuses to parse it. The list is written as [1, 2,].

  1. The validator reads the document strictly, as the JSON standard defines it.

  2. On line 3, after the 2, it meets a comma followed directly by a closing bracket.

  3. It stops with “Trailing comma is not allowed before ']'” at line 3, column 18, the 38th character of the document.

  4. Removing that one comma makes the whole document valid; JavaScript code accepts a trailing comma, but JSON does not.

Questions

Why does my JSON fail when it looks fine?

Usually a trailing comma, single quotes, a comment or an unquoted key, which JavaScript allows and JSON does not. The validator shows the line and column of the first one it meets.

Will converting CSV to JSON change my numbers?

Not with safe typing: values such as phone numbers or codes with leading zeros stay text, and large numbers are not rounded. The preview shows how each column will be typed before you convert.

Why does YAML read no as false?

Older YAML 1.1 parsers treat yes, no, on and off as true and false. The YAML tools warn when a value would be read that way and suggest quoting it.

Can these tools open very large files?

The viewers are built for large files and open them in your browser without a server; the limit is your device’s memory, so a phone holds less than a computer.

Start with these

More tools here

Lessons on this

All 20: Lessons on this

All 40 tools

Every tool here by name, grouped by what it is for.

Show the full listHide the full list: All 40 tools

Show

JSON viewers, validators & repair

9 tools

YAML, TOML & .env config files

5 tools

XML, XPath & XSD tools

4 tools

Convert & extract

13 tools

Format & clean

1 tool

Check & analyze

3 tools

Create & generate

3 tools

Encode & encrypt

1 tool

Look up & learn

1 tool

Good to know

  • 37 of 40 tools run entirely in your browser; the other 3 explain on their pages what they send.
  • 35 of 40 keep working without a connection once loaded.

What a pass opens here

35 Pro tools and 5 Premium tools here need a pass.

  • Pro pass opens 35 of 40 ₹179 / $5.99 for 30 days
  • Premium pass opens all 40 ₹799 / $19.99 for 30 days
See passes

Quick answers and tool search

Type to search tools or to get a quick answer, for example 18% of 2500. Use the up and down arrow keys to move through the results, Enter to choose, and Escape to close.