URL Encoder / Decoder
FreePercent-encode URLs and query strings for safe web transmission or decode them back to readable form.
Query Parameters Detected
| Parameter | Value |
|---|---|
| q | hello world |
| lang | en |
| page | 1 |
encodeURIComponent()
Encodes ALL special characters including /, ?, #, &, =. Use for encoding individual query parameter values.
encodeURI()
Encodes a complete URL, preserving /, ?, #, &, = and other URL-structural characters intact.
What is URL Encoding?
URL encoding (percent-encoding) replaces unsafe ASCII characters with a % followed by two hexadecimal digits, making URLs safe for transmission over the internet.
Why Use URL Encoding?
Query parameters, form data and path segments often contain spaces, special characters and Unicode that must be encoded to work correctly in URLs.
Features
- encodeURIComponent for individual parameter values
- encodeURI for complete URLs
- Real-time query parameter detection and table view
- Swap button to toggle between encode and decode
- Stats showing input/output character counts
Reviews
Sign in to write a review