JSON Encode/Decode
Encode data into a JSON string, and decode a JSON string back into data
Features
Supports both encoding and decoding
A bidirectional tool that converts between data and JSON strings
Parses JS-like notation too
Converts unquoted keys, trailing commas, and content with comments
Choose from 4 indents
Switch between 2/4 spaces, tabs, and minify to suit your purpose
Fine-grained escape control
Specify escaping of Unicode characters and slashes individually
How to Use
Select the conversion mode
Choose the encode or decode tab to set the conversion direction
Enter the data
Paste an object, array, or JSON string into the input field
Adjust the output format
Set the indent type and Unicode and slash escaping
Check and retrieve the result
Check the conversion result on screen and use it via copy or file save
Use Cases
Check formatted API responses
Format minified JSON for readability to quickly grasp the structure
Create configuration files
Convert hand-written objects into valid JSON format and save them
Transcribe from JS code
Convert JS objects with unquoted keys into proper JSON
Learn JSON syntax
Compare the encoded results to understand how data is represented
Verify multibyte characters
Check the internal representation of text such as Japanese with Unicode escapes
Safety and Privacy
Runs entirely in your browser
Your input data is processed only within your browser and is never sent externally.
Processing only in your browser
the conversion process is processed entirely within your browser, and input data is not sent to any server.
Communications encrypted with HTTPS
Page loading is also encrypted by TLS, and content cannot be read by third parties.
No transmission to third parties
Input content is not sent to external services such as ad networks or trackers.
No automatic saving of results
the input data and conversion result and input suggestions are not stored on the server.
131 free web tools available now!
Most tools are designed securely and do not transmit data.
