onlinejsontools logo
build

Json prettifier

World's simplest json tool

Free online JSON beautifier. Just load your JSON and it will automatically get prettified. There are no ads, popups or nonsense, just an awesome JSON prettifier. Load JSON, prettify JSON. Created by developers for developers.
settings
fullscreen fullscreen_exit
swap_horiz
star
Import from file
Save as...
Copy to clipboard
Can't convert.
An error has occured.
Export to Pastebin
Save as...
Copy to clipboard
Indentation
Indent output with spaces
How many spaces per indent
Indent output with tabs
help
Json prettifier tool What is a json prettifier?
This tool pretty prints JavaScript Object Notation (JSON) data files. You can customize indentation and make it spaces or tabs, whichever you prefer.
books
Json prettifier examples Click to use
Beautify a simple JSON array
This example pretty prints a JSON array.
[1,2,3][ 1, 2, 3 ]
Prettify a complex JSON object
This example beautifies a complex JSON data structure of arrays and objects.
{"names":["jack","john","alex"],"hobbies":{"jack":["programming","rock climbing"],"john":["running","racing"],"alex":["dancing","fencing"]}}{ "names": [ "jack", "john", "alex" ], "hobbies": { "jack": [ "programming", "rock climbing" ], "john": [ "running", "racing" ], "alex": [ "dancing", "fencing" ] } }
info
Pro tips Master online json tools
You can pass input to this tool via ?input query argument and it will automatically compute output. Here's how to type it in your browser's address bar. Click to try!
https://onlinejsontools.com/prettify-json?input=%5B1%2C2%2C3%5D
dashboard
All json tools
Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!
Quickly beautify a JSON data structure.
Quickly compress a JSON file.
Quickly check JSON for errors and report them.
Quickly escape special JSON characters.
Quickly unescape an escaped JSON string.
Quickly convert a JSON data structure to an XML file.
Quickly convert an XML file to a JSON data structure.
Quickly convert a JSON data structure to a YAML file.
Quickly convert YAML markup to a JSON data structure.
Quickly convert a JSON file to a TSV file.
Quickly convert TSV data to a JSON file.
Quickly convert a JSON document to a CSV document.
Quickly convert a CSV document to a JSON document.
Quickly encode JSON to base64.
Quickly decode base64 to JSON.
Quickly convert JSON data to plain text.
airport_shuttle
Coming soon These json tools are on the way
Preview JSON in a Browser
Add syntax highlighting to JSON and show it in your browser.
Display JSON Statistics
Display detailed information about a JSON data structure.
Flatten JSON
Loop over JSON structure and extract all values as a list.
Convert JSON to a HTML
Create a HTML table from JSON object keys and values.
Convert JSON to a LaTeX Table
Generate a LaTeX table from a JSON object.
Compare Two JSON Files
Diff JSON files and show differences visually.
URL-encode a JSON object
URL-encode a JSON data structure.