EditSafely

JSON Tools

Prettify, minify, validate, convert and transform JSON data. All 90 tools run entirely in your browser, so your data never leaves your device.

Prettify JSONBeautify a JSON data structure with your preferred indentation.
Validate JSONCheck JSON for syntax errors and locate exactly where they are.
Edit and View JSONEdit JSON with instant validation and a formatted, highlighted view.
Fix JSONRepair a damaged JSON file to the best of our ability.
Convert JSON to CSVConvert a JSON file to a CSV spreadsheet.
Convert CSV to JSONTurn CSV spreadsheet data into a JSON array of objects.
Convert JSON to YAMLConvert a JSON data structure to YAML markup.
Minify JSONCompress JSON by removing all unnecessary whitespace.
Compare Two JSON FilesDiff two JSON files and show the differences visually.
Run jqExecute a jq query on a JSON data structure.

Format & validate12

Prettify, minify, check and repair JSON.

Prettify JSONBeautify a JSON data structure with your preferred indentation.
Validate JSONCheck JSON for syntax errors and locate exactly where they are.
Fix JSONRepair a damaged JSON file to the best of our ability.
Minify JSONCompress JSON by removing all unnecessary whitespace.
Add Spacing to JSONInsert random spaces and newlines into a JSON file.
Fix Quotes in JSONFix incorrectly quoted keys and values, such as single quotes.
Use Double Quotes in JSONMake all keys and values in a JSON double-quoted.
Use Single Quotes in JSONMake all keys and values in a JSON single-quoted.
Sort JSON Object KeysLexicographically sort the keys of JSON objects.
Change JSON SyntaxReplace braces, commas and quotes with other symbols.
Remove JSON SyntaxStrip all JSON syntax and leave just the values.
Tokenize JSONSplit a JSON data structure into its tokens.

View & edit5

Read, explore and edit JSON as a tree or highlighted code.

Edit and View JSONEdit JSON with instant validation and a formatted, highlighted view.
Visualize a JSON StructureCreate an abstract visualization of a JSON's complexity.
Highlight JSON SyntaxColor-code the syntax of JSON data for easy reading.
Analyze JSONDisplay detailed statistics about a JSON data structure.
Find JSON DepthFind the nesting depth of a JSON data structure.

Convert to/from formats24

Turn JSON into YAML, XML, TOML and other text formats.

Convert JSON to YAMLConvert a JSON data structure to YAML markup.
Convert YAML to JSONConvert YAML markup to a JSON data structure.
Convert JSON to XMLConvert a JSON data structure to an XML document.
Convert XML to JSONConvert an XML document to a JSON data structure.
Convert JSON to Plain TextStrip syntax and convert JSON data to plain text.
Convert JSON to TOMLConvert a JSON config to a TOML config.
Convert TOML to JSONConvert a TOML file to a JSON file.
Convert JSON to JSONLConvert a JSON array to line-delimited JSONL.
Convert JSONL to JSONConvert line-delimited JSONL to a JSON array.
Convert JSON to INIConvert a JSON data file to an INI configuration file.
Convert INI to JSONConvert an INI configuration file to a JSON data file.
Convert JSON to PropertiesConvert a JSON file to a Java .properties file.
Convert Properties to JSONConvert a Java .properties file to JSON.
Convert JSON to a PHP ArrayCreate a PHP data structure from a JSON data structure.
Convert a PHP Array to JSONCreate a JSON data structure from a PHP data structure.
Convert JSON to a ListCreate a text list from a JSON array or object.
Convert a List to JSONCreate a JSON array from a plain text list.
Split a String into a JSON ArrayCreate a JSON array from a plain string.
Convert JSON to Form DataGenerate URL-encoded HTTP form data from a JSON object.
Convert Form Data to JSONGenerate a JSON object from URL-encoded HTTP form data.
Convert JSON to CSONConvert a JSON file to CoffeeScript object notation (CSON).
Convert CSON to JSONConvert CoffeeScript object notation (CSON) to a JSON file.
Convert JSON to BencodeConvert a JSON data structure to Bencode encoding.
Convert Bencode to JSONConvert Bencode data to JSON data.

Tables6

Move JSON to and from CSV, TSV, HTML and LaTeX tables.

Convert JSON to CSVConvert a JSON file to a CSV spreadsheet.
Convert CSV to JSONTurn CSV spreadsheet data into a JSON array of objects.
Convert JSON to TSVConvert a JSON file to tab-separated values.
Convert TSV to JSONConvert tab-separated values to a JSON file.
Convert JSON to HTMLCreate an HTML table from the keys and values of a JSON object.
Convert JSON to a LaTeX TableGenerate a LaTeX table from a JSON object.

Encode & escape9

Base64, URL encoding, escaping and stringifying JSON.

Stringify JSONConvert JavaScript data into a JSON string.
Unstringify JSONConvert a JSON string back into JavaScript data.
Escape JSONEscape special JSON characters so data can be safely embedded.
Unescape JSONUnescape an escaped JSON string back to readable JSON.
Convert JSON to Base64Encode JSON data to Base64.
Convert Base64 to JSONDecode Base64 back to JSON data.
URL-encode JSONConvert JSON to URL-encoding for use in query strings.
URL-decode JSONConvert URL-escaped JSON back to regular JSON.
Convert JSON to a Data URIConvert a JSON data structure to a data: URL.

Binary formats8

Convert JSON to and from BSON, MessagePack and more.

Convert JSON to BSONConvert a JSON structure to the binary BSON encoding.
Convert BSON to JSONConvert a binary BSON file back to readable JSON.
Convert JSON to MessagePackSerialize JSON data to the binary MessagePack format.
Convert MessagePack to JSONDeserialize binary MessagePack to a JSON structure.
Convert JSON to ProtobufSerialize JSON data to the binary Protobuf format.
Convert Protobuf to JSONDeserialize binary Protobuf to a JSON structure.
Convert JSON to UBJSONConvert a JSON file to Universal Binary JSON (UBJSON).
Convert UBJSON to JSONConvert Universal Binary JSON (UBJSON) to regular JSON.

Query & reshape10

Filter, extract, flatten and restructure JSON data.

Run jqExecute a jq query on a JSON data structure.
Filter JSONKeep only keys and values that match a pattern.
Extract JSON KeysExtract all keys from objects in JSON data.
Extract JSON ValuesExtract all values from objects in JSON data.
Find JSON Keys/ValuesFind keys and values that match your query in a JSON file.
Flatten a JSON ObjectCreate a single-level object from nested JSON objects.
Flatten a JSON ArrayReduce the nesting level of an array of arrays.
Group a JSON ArrayCreate groups of JSON array items.
Swap JSON Keys with ValuesExchange keys with values throughout a JSON file.
Truncate JSONTruncate all values or keys in a JSON structure.

Privacy3

Hide, mask or scramble values before sharing JSON.

Censor JSON DataMask or remove selected keys anywhere in a JSON structure.
Obfuscate JSONReplace keys and values with random data of the same shape.
Hide JSON StringsRewrite JSON strings, keys and values using escape codes.

Compare & merge4

Diff two JSON files or combine arrays and objects.

Compare Two JSON FilesDiff two JSON files and show the differences visually.
Compare JSON ArraysFind differences between two JSON arrays.
Merge JSON ObjectsMerge two JSON objects together.
Merge JSON ArraysMerge two JSON arrays together.

Generate & images9

Make test JSON, shuffle it, or render it as a picture.

Generate FakeSONCreate JSON that looks real but is completely fake.
Create a Random JSON ObjectGenerate a JSON object with random keys and values.
Create a Random JSON ArrayGenerate a JSON array filled with random values.
Randomize a JSON ObjectShuffle the order of key-value pairs in a JSON object.
Randomize a JSON ArrayShuffle the positions of JSON array elements.
Damage JSONIntroduce random errors into a JSON data structure.
Convert JSON to an ImageRender JSON as a syntax-highlighted PNG, JPG or WebP image.
Capture a JSON ScreenshotCreate a shareable editor-style screenshot image from JSON code.
Create JSON ArtConvert images to valid JSON strings that look like ASCII art.

How it works

Your json work stays on your device

All 90 json tools on this page are JavaScript that your browser downloads once and then runs on your own machine. No server sees your input, because no server is involved in the work at all.

Put an API response with live access tokens in it into any of these tools and it stays inside this tab.

How most online tools do it

Your tokens sent to a stranger's server
  1. JSON with real tokensin your clipboard
  2. Sent to their serverlogged, cached, who knows
  3. The result comes backafter a round trip

How EditSafely does it

0 bytes over the network
  1. JSON with real tokensin your clipboard
  2. Your browser does the workin this tab, in memory
  3. Formatted JSONappears as you type
  • There is no upload step

    Your browser opens the file from your disk the same way an installed app would. The bytes go from your drive into this tab and no further.

  • Big files are not a problem

    No server means no upload limit and no queue. Speed comes down to your own machine, so a multi gigabyte file starts processing right away instead of after a long transfer.

  • It keeps working offline

    Once the page has loaded you can disconnect from the internet entirely and the tool carries on. There is nothing on the other end for it to talk to.

  • Nothing is stored anywhere

    No account, no history, no copy on a server waiting to be leaked. Close the tab and the work is gone from everywhere it ever existed.

Explore more categories