URL Encoder & Decoder
Encode strings safe for URLs or decode percent-encoded URLs back to readable text. Runs locally, supports full Unicode.
- Runs in browser
- No signup
- No tracking
How to use URL Encoder & Decoder
Pick Encode or Decode.
Paste your input on the left.
Result updates live on the right.
Click Copy to grab the output.
When to use it
Building safe query strings from user input.
Decoding webhook payloads with percent-encoded fields.
Inspecting OAuth redirect URLs.
Converting search engine result URLs back to readable text.
What it fixes
Spaces breaking URLs because they weren't encoded.
Double-encoded strings nobody can read.
Special characters silently dropped by sloppy clients.
About URL Encoder & Decoder
URLs can only carry ASCII, so any non-ASCII or reserved characters need percent-encoding. This tool wraps the browser's native encodeURIComponent / decodeURIComponent — the same functions used by every modern web app.
Use Encode when building query strings or path segments. Use Decode to read the actual content of a webhook payload, query string, or copied URL.
References: MDN — encodeURIComponent · RFC 3986 — URI Generic Syntax
Frequently asked
Does it use encodeURI or encodeURIComponent?
encodeURIComponent — it escapes every reserved character so the result is safe inside a URL component (path segment or query value).
Why does my input fail to decode?
Malformed sequences like a stray % followed by non-hex chars throw. Strip stray % or fix the broken pair.
Is my input sent anywhere?
No. Encoding/decoding runs entirely in your browser using built-in JS APIs.
Discussion
Related tools
All toolsBase64 Encoder & Decoder
Encode text to base64 or decode it back. Full UTF-8 support, runs in your browser.
Encode / DecodeHash Generator
MD5, SHA-1, SHA-256, SHA-384, SHA-512 hashes of text or files. WebCrypto, runs locally.
Encode / DecodeImage to Base64
Convert any image to a base64 data URI. Copy as data URI, raw base64, CSS, or HTML snippet.
Encode / Decode