$ encode --url
url encoder / decoder.
Encode or decode URL strings instantly. 100% client-side, no data leaves your browser.
input
1
2
3
4
5
2
3
4
5
0 / ∞ chars
output
URL encoding converts special characters into a format that can be transmitted over the internet. Spaces become %20, reserved characters like & and = get encoded to %26 and %3D respectively.
Use encodeURI for a full URL (preserves scheme, host, path). Use encodeURIComponent for query parameter values — it encodes everything including / and ?.
That is JSON encoded into URL-safe format. This happens when objects are serialized into query strings without proper encoding.
learn more in our detailed guide.
→ read the guide