URL Encoder / Decoder
Percent-encode text for safe use in URLs, decode encoded strings back to readable text, and break any URL into its parts with a query-parameter table.
Output
URL Breakdown
| Click "Parse URL Parts" to inspect a URL. |
✔ Done — what’s next?
You may also need
- JSON Formatter & Validator — Pretty-print, validate and minify JSON with clear error messages.
- Regex Tester & Cheat Sheet — Test regular expressions against text with live match highlighting.
- UUID v4 Generator — Generate random UUIDs/GUIDs in bulk with formatting options.
- SHA Hash Generator — Compute SHA-256, SHA-384, SHA-512 and SHA-1 hashes as you type.
- Cron Expression Builder — Build cron schedules visually with plain-English descriptions and next run times.
- CSS Grid & Flexbox Generator — Design CSS Grid and Flexbox layouts visually and copy the code.
Popular next tools
ADVERTISEMENT
Google AdSense - Responsive Content Banner (600 x 100)
How to use the URL Encoder / Decoder
- Paste a URL or text.
- Click Encode or Decode.
- Inspect the parameters table.
Common use cases
- Encode a value before putting it in a query string
- Read a long tracking URL parameter by parameter
Example
"a b&c" encodes to a%20b%26c.
encodeURIComponent vs encodeURI — Which One?
Use component encoding when inserting a value INTO a URL (a query parameter, a path segment): it escapes every reserved character including &, =, ? and /. Use full-URL encoding when cleaning up a complete URL: it keeps the URL structure characters intact and only escapes invalid ones like spaces.
Decoding reverses percent-encoding (%20 → space, %C3%BC → ü). The parser splits a URL into protocol, host, port, path, query parameters and fragment so you can inspect tracking links before clicking them.
Frequently Asked Questions (FAQ)
Q: Why does my & break the link?
A: An & inside a parameter VALUE must be encoded as %26, otherwise the browser treats it as a parameter separator. Use component encoding for values.
Q: What does %20 mean?
A: It is the percent-encoded form of a space character. + also represents a space, but only inside query strings.
Q: Does this tool send my URLs anywhere?
A: No — encoding, decoding, and parsing run entirely in your browser.