onlinejsontools logo

Json editor

World's simplest json tool

Free online web-based JSON editor. Just load your JSON and you can immediately start editing it in your browser. There are no ads, popups or nonsense, just an awesome JSON editor. Load JSON, edit JSON. Created by developers for developers.
ever need to work with xml? <foo>bar</foo>
We also have Online XML Tools — utilities for working with XML documents. Check it out!
JSON Editor/Viewer Options
Make it easy to see where tabs and newlines are.
Show the line number before each line.
Make it easy to spot where the corresponding opening or closing bracket is.
Change the background color of currently selected line.
Json editor tool What is a json editor?
This tool lets you view your JSON (JavaScript Object Notation) files and edit them in your browser. It offers a neat interface that adds color codes to various parts of JSON syntax. It displays error if finds any and tells you where they are so you can quickly identify and fix them. It also offers several useful features such as showing special characters, showing line numbers, showing matching brackets, and changing background color of the current line that you're editing.
Json editor examples Click to use
Well-formed JSON Example
This is an example of a well-formed JSON that you can load in the JSON editor and play around.
[ "foo", "bar", "baz", { "server" : "online", "paid" : false } ]
Ill-formed JSON Example
This example has a JSON data structure that has an error. When you load it in JSON editor, it will show exactly where the error is. Try to fix it and the error message will go away.
[ true, "1x", false, [ { "asdf" : 444 }, [ 1, 2, 3 ], { 'linux' : "great" } ] ]
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/edit-json?input=%5B%0A%20%20%22foo%22%2C%20%22bar%22%2C%20%22baz%22%2C%0A%20%20%7B%0A%20%20%20%20%22server%22%20%3A%20%22online%22%2C%0A%20%20%20%20%22paid%22%20%3A%20false%0A%20%20%7D%0A%5D
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 color code the syntax of a JSON file.
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 convert JSON to a PNG, GIF, JPG or BMP Image.
Quickly encode JSON to base64.
Quickly decode base64 to JSON.
Quickly convert JSON to URL-encoding.
Quickly convert URL-escaped JSON back to JSON.
Quickly convert JSON data to plain text.
Quickly edit a JSON file in a neat JSON editor in your web browser.
Coming soon These json tools are on the way
Display JSON Statistics
Display detailed information about a JSON data structure.
Flatten JSON
Loop over JSON structure and extract all values as a list.
Obfuscate JSON
Obfuscate a JSON data structure.
Convert JSON to a HTML
Create a HTML table from JSON object keys and values.
Convert JSON to Bencode
Convert a JSON data structure to Bencode encoding.
Convert Bencode to JSON
Convert Bencode data to JSON data.
Convert JSON to BSON
Convert a JSON data structure to binary BSON data.
Convert BSON to JSON
Convert binary JSON data structure (BSON) to JSON.
Convert JSON to a LaTeX Table
Generate a LaTeX table from a JSON object.
Truncate JSON
Loop over JSON structure and truncate all values.
Convert JSON to Data URI
Convert a JSON data structure to a data URL.
Convert JSON to a PHP Array
Create a PHP data structure from a JSON data structure.
Convert a PHP array to JSON
Create a JSON data structure from a PHP data structure.
Compare Two JSON Files
Diff JSON files and show differences visually.