Development Tools
URL Encoder / Decoder
Turn text into a safe URL form, or turn %20-style sequences back into readable text. Pick the mode that fits: a single query value, a whole address or form data. A URL inspector breaks an address into its scheme, host, path and decoded query parameters. Everything runs in your browser.

How to use it
- Paste your text or URL into the input box.
- Choose Encode, Encode a whole URL, Encode as form data or Decode.
- Copy the result, or use Inspect URL parts to see each piece of an address.
Example
Encoding "coffee & cake" as a query value gives coffee%20%26%20cake. Encoding a whole URL leaves its :// and ? alone so the address still works.
Encoding is not encryption. Anyone can decode a percent-encoded URL.
Which mode to use
Encode a single query value when it will sit after an equals sign, because that mode also encodes characters such as &, = and /. Use the whole-URL mode when you have a complete address and want to keep its structure, so slashes and question marks are left alone. Decode turns %20-style sequences back into readable text.
Common mistakes
- Encoding a whole address with the single-value mode, which turns the slashes into %2F and breaks it.
- Encoding twice, producing %2520 where %20 was intended.
- Forgetting that a space can appear as %20 or as a plus sign in a query string.
What it does not check
It changes how characters are written, nothing more. It does not test whether an address exists or works, and decoding a URL does not make a harmful link safe: treat links from unknown sources with care.
Which tool fits your task?
This page is for percent-encoding for web addresses.
- Base64 Encoder and Decoder: for Base64 encoding and decoding, not percent-encoding for web addresses.
- Online MD5 Generator: for checksums for text and files, not percent-encoding for web addresses.
- JWT Decoder: for reading a JSON Web Token, not percent-encoding for web addresses.
- UUID Generator: for generating unique identifiers, not percent-encoding for web addresses.
Questions
What is the difference between encoding a value and a whole URL?
Encoding a value escapes every character that has special meaning in a URL, including & = ? and /. Encoding a whole URL leaves those alone because they give the address its structure. Use the value mode for parts you are inserting into a URL.
Why do I see %2520?
That is a space encoded twice: %20 became %2520. Decode once to get %20, then again for the space. Double encoding usually means a value was encoded before being put in a link that was encoded again.
Why does decoding fail?
A % must be followed by two hexadecimal digits and the bytes must form valid UTF-8. A stray % in the text, or a truncated sequence, causes an error, which the tool explains.
Is + a space?
In form data and query strings, yes. In a URL path it is a plus sign. The two decode buttons handle each case.
Is my text sent anywhere?
No. It is converted in your browser.
Get practical SEO tips by email
Occasional emails with new guides and tools. Confirm by email first; unsubscribe in one click.