URL Encoder / Decoder
Encode or decode URL components and query strings. Everything happens locally.
Encode special characters, spaces, and non-ASCII text into percent-encoded URL-safe format, or decode a percent-encoded query string back to readable text. Useful when building a URL by hand, debugging a query parameter that's rendering oddly, or decoding a link that's been pasted somewhere with %-encoding. Encoding and decoding both run locally using the browser's native encodeURIComponent/decodeURIComponent.
Loading tool
How it works
- 01
Paste text or a URL component.
- 02
Switch between Encode and Decode.
- 03
Copy the result.
Details
- Category
- Developer & data
- Runs
- In your browser
- Files uploaded
- No
- Cost per run
- Free
- Sign-in
- Not required
- Works offline
- Yes, once loaded
Last updated 2026-08-03
Common questions
What gets encoded?
Spaces, symbols, and non-ASCII characters are converted to their percent-encoded (%XX) equivalents, safe for use in a URL.
Why would a URL fail without encoding?
Characters like spaces, &, and # have special meaning in URLs and query strings, so unencoded values can break parsing or truncate parameters.
Is my input uploaded anywhere?
No - encoding and decoding run locally.
What's the difference between encodeURIComponent and encodeURI?
This tool uses component-level encoding, which also escapes characters like & and = - the right choice for individual query parameter values.