URL Encoder and Decoder
Encode text for use in a URL query string or decode percent-encoded URLs, with a component mode for individual values and a full-URL mode.
- Runs in your browser
- Accepts: text, URL
- Produces: encoded URL, text
- Free · No sign-up
Loading the tool…
How to use url encoder and decoder
- Paste the text or URL.
- Choose component or full URL mode.
- Copy the encoded or decoded value.
Practical examples
Encoding a search parameter
The value "black & white" encodes to black%20%26%20white in component mode, so the ampersand cannot split the query.
Limitations to know about
- Component mode encodes reserved characters such as ? and /, which is correct for a single value but breaks a full URL.
- Decoding malformed percent sequences reports an error instead of guessing.
Privacy
This tool processes everything inside your browser. Nothing you paste or upload is transmitted to Roxie Tools or to any third party, and no copy of your input is stored. Closing the tab clears it.
See the privacy policy for how this site handles data.
Related tools
All developer tools Base64 Encoder and Decoder Encode text to base64 or decode it back, UTF-8 safe.
Open tool
HTML Entity Encoder and Decoder Escape HTML special characters or decode entities.
Open tool
JSON Formatter and Validator Format, validate and minify JSON with clear error positions.
Open tool
JWT Decoder Read JWT header, payload and expiry without sending the token.
Open tool
Version 1.0.0 · Last updated 2026-12-06 · Processing: local browser