Skip to content
  • Merge PDFCombine PDF files into one document, in the order you choose. Nothing is uploaded.
  • Split PDFExtract pages or split a PDF into several files by page range. Nothing is uploaded.
  • PDF to WordTurn the text of a PDF into an editable Word document (.docx), right in your browser.
  • Word to PDFTurn a Word document (.docx) into a PDF with your browser’s Save as PDF. Nothing is uploaded.
  • JSON Formatter & ValidatorFormat, validate and minify JSON. Errors point to the exact line and column.
  • SQL FormatterFormat and beautify SQL for PostgreSQL, MySQL, SQL Server, BigQuery and more.
  • Password GeneratorCreate strong random passwords in your browser, with the length and characters you choose.
  • UUID GeneratorGenerate UUID v4 or time-ordered v7 in bulk, and check the version of any UUID.

JSON Formatter & Validator

Format, validate and minify JSON. Errors point to the exact line and column.

Processed in your browser — files never leave your device

How to format JSON

  1. Paste your JSON into the input box.
  2. Press Format (or Ctrl + Enter) to indent it, or Minify to remove all whitespace.
  3. Copy the result or download it as a .json file.

Finding errors fast

When the JSON is not valid, the tool shows the line and column of the first problem. Click that link and the cursor jumps straight to it in the input box. The most common mistakes are:

  • A comma after the last item of a list or object.
  • Single quotes instead of double quotes.
  • Keys without quotes, like {name: 1}.
  • A missing closing bracket at the end of the file.

Format or minify?

Formatted JSON is for people: easy to read, review and diff. Minified JSON is for machines: the smallest size for network payloads, local storage or environment variables. Both contain exactly the same data.

Questions and answers

Is it safe to paste API responses or config files here?
Yes. Formatting and validation run in your browser. The JSON you paste is never sent to a server or saved.
Why does it say my JSON is invalid when JavaScript accepts it?
JSON is stricter than JavaScript: keys and strings need double quotes, trailing commas are not allowed, and comments, undefined and NaN are not valid values.
Does formatting change my data?
Only the whitespace changes. One exception: if an object repeats the same key, JSON keeps only the last value, so duplicates disappear.
How large a file can it handle?
Several megabytes format instantly on a modern device. Files above roughly 50 MB depend on your browser’s memory.

Updated November 13, 2026