URL encoder and decoder
Encode or decode URL components.
Saves for offline use after your first successful run.
Runs on your device. Your files and inputs stay private.
How to use
- Paste your text and choose the applicable options.
- This tool uses encodeURIComponent and decodeURIComponent for a single URL component, not encodeURI for a complete address. Reserved separators are encoded. Plus signs are literal plus signs rather than form-encoded spaces. Malformed percent escapes or invalid UTF-8 return a clear error.
- Run the tool, review the output, then copy or download it where available. Inputs and results stay in this tab only.
Examples
Illustrative text example
- Input
- a b&é
- Output
- a%20b%26%C3%A9
Frequently asked questions
This tool uses encodeURIComponent and decodeURIComponent for a single URL component, not encodeURI for a complete address. Reserved separators are encoded. Plus signs are literal plus signs rather than form-encoded spaces. Malformed percent escapes or invalid UTF-8 return a clear error.
No. Text is processed on this device and is never stored in app caches or sent to a server. Up to 200,000 UTF-16 code units are accepted; comparisons have an additional 1,000-line limit per text.