URL Encoder / Decoder
- Free forever
- No sign-up
- Runs in your browser
Encode text for use in a web address (spaces become %20), decode it back, or split a URL into its parts.
About URL Encoder / Decoder
Web addresses can only carry certain characters, so spaces, accents and symbols such as & or ? have to be written as percent codes. Use it to prepare a search term or parameter value for a link, to read an encoded address from a log or email, or to split a long URL into its host, path and query parameters so you can see exactly what it sends.
How to use URL Encoder / Decoder
- Type text or paste an encoded web address into the Input box.
- Before encoding, choose Encode as: a part of a URL, or a whole URL.
- Click Encode or Decode; tick Decode + as a space for text copied from web forms.
- Click Split URL into parts to see the host, path and each query parameter in a table.
How your data is handled
Encoding, decoding and splitting run in your browser, with no extra downloads. The addresses and text you paste, including any tokens in query strings, aren't uploaded or stored.
Limits and accuracy
- Encoding text that's already encoded turns each % into %25, so decode it first to avoid double encoding.
- Decoding expects UTF-8, so old Latin-1 codes such as %E9 for é are reported as invalid.
- Split URL into parts needs a full address that starts with a scheme, such as https://.
Questions and answers
Should I encode a part of a URL or a whole URL?
Encode a part, such as a search term or parameter value, so characters like / ? & = become codes. Choose a whole URL only when the address must keep working and you just want spaces and special characters fixed.
Why do spaces show as + instead of %20?
Web forms traditionally send a space as +, while links use %20. Both mean a space. Keep Decode + as a space ticked for form data, and untick it if a real plus sign should stay.
Why does it say Invalid encoded URL?
A % sign must be followed by two hex digits, like %20. A lone % or a code that has been cut off can't be decoded, so check the end of the text you copied.
Do I need to sign up?
No. URL Encoder and Decoder is free with no sign-up, no login and no daily limit, and there's nothing to install. It works on a phone as well as a PC.
Is my text sent to a server?
No. URL Encoder and Decoder runs in your browser, so what you paste stays on your device. That makes it safe for passwords, tokens, customer data and anything else private.
What is the encoding for a space, slash or ampersand?
Space is %20 (or + in form data), slash is %2F and ampersand is %26. Paste any text and it's encoded or decoded for you, the same way JavaScript's encodeURIComponent does it.