JSON Encoder/Decoder

Encode JSON to escaped strings and decode escaped JSON back to objects.

Encode Example

{"name":"John"} → {"name":"John"}

Decode Example

{"name":"John"} → {"name":"John"}

Input

JSON

Output

Encoded
Output will appear here...

How It Works

Paste Data

Enter JSON or encoded string.

Choose Mode

Select encode or decode mode.

Configure

Pick encoding type and indent.

Process

Convert and copy the result.

Watch How It Works