JSON URL Encode
Percent-encode JSON so it can go in a URL.
- Free
- No sign-up
- Runs in your browser
Validates and minifies JSON, then percent-encodes it for use in a URL query parameter.
What does JSON URL Encode do?
JSON URL Encode encodes your text instantly, as you type or when you press the button.
URL encoding (percent-encoding) replaces spaces, &, = and non-English letters with %XX codes so text can sit safely inside a link or query string.
What you can use
Any text, including emoji and non-English characters (they are treated as UTF-8).
Example
Input
{"q":"a b"}Output
%7B%22q%22%3A%22a%20b%22%7D
How to use JSON URL Encode
- Step 1
Paste the text you want to encode.
- Step 2
Run JSON URL Encode. Errors such as invalid characters are shown under the box.
- Step 3
Copy the result with one click.
Good to know
- Encoding is reversible and is not a way to hide secrets — use real encryption for anything sensitive.
- Run the matching decoder on the output to check it round-trips back to your original text.
Your privacy
Everything happens in this browser tab: what you paste is converted by JavaScript on your device and never sent to our server. Closing the tab clears it. Even so, don’t paste live passwords, API keys or customer records into any website.
Related tools
All Encode & DecodeFrequently asked questions
Is JSON URL Encode free?
Yes. JSON URL Encode is completely free, with no sign-up, no watermark and no daily limit.
Is the data I paste sent to a server?
No. Conversion runs in JavaScript inside this browser tab and nothing you paste is sent or stored. Even so, avoid pasting live passwords, API keys or private customer data into any website.
Why do I get an error?
Almost always the input isn’t quite valid: a missing comma or quote in JSON, an unclosed tag in XML, or a tab in YAML. The error message shows where parsing stopped — fix that spot, or press “Load example” to compare with input that works.
Does it work on my phone?
Yes. It works in any modern browser on Android, iPhone, tablets and computers — nothing to install.