URL Encoder / Decoder

Encode and decode URL strings and query parameters

Your files never leave your browser. Nothing is uploaded to any server. Privacy Policy

URLs cannot contain spaces, special characters or non-ASCII letters — they must be percent-encoded. This tool encodes and decodes URLs, query parameters and form data using the standard encodeURIComponent algorithm. Useful for debugging API requests, building share links and inspecting redirects.

How to encode and decode URLs

1
Paste your text or URL

Enter raw text, a query parameter or a full URL into the input.

2
Choose encode or decode

Click Encode to percent-encode special characters or Decode to reverse.

3
Copy the result

Use the Copy button to grab the encoded or decoded string.

🔗
Component & full URL

Choose between encodeURIComponent (parameters) and encodeURI (full URLs).

Live conversion

Output updates instantly as you type — encode and decode in real time.

📊
Query string parser

Paste a URL to see each query parameter listed and decoded individually.

🔒
Private

All encoding happens locally in your browser — nothing is uploaded.

FAQ

URL encoding (percent encoding) replaces unsafe characters in URLs with a % followed by two hex digits — for example, a space becomes %20.

Use encodeURIComponent for individual query parameters or path segments. Use encodeURI for entire URLs you don't want to break apart.

Both represent a space. %20 is the standard URL encoding; + is used in form-encoded data (application/x-www-form-urlencoded).

Yes. Unicode characters are encoded as UTF-8 percent-encoded bytes, the same way browsers handle them.

All processing is local, but never paste real production secrets into any online tool.

More free tools