URL Encoder / Decoder
Encode text for use in URLs or decode URL-encoded strings. Handles special characters and spaces. All processing runs in your browser.
URL Encoder / Decoder tool
How to use
Choose mode
Switch between Encode (text → percent-encoded) and Decode (percent-encoded → text).
Enter input
Type or paste your text or encoded string.
Copy result
Use the Copy button to copy the encoded or decoded output.
Examples
Encode
Spaces and symbols are encoded.
Inputhello world!Outputhello%20world%21
Frequently asked questions
- What encoding is used?
- Standard percent-encoding (encodeURIComponent / decodeURIComponent) as used in URLs and query strings.
- Why does decode fail?
- Invalid percent-encoded sequences (e.g. %ZZ) or truncated input can cause decode errors.
Related tools
You might find these useful too.