URL Encoder / Decoder
Encode and decode URL components.
URL Encoder / Decoder
URL encoding, also known as percent-encoding, converts characters that are not allowed in a URL into a safe format that can be transmitted over the internet. Special characters such as spaces, ampersands, equal signs, and non-ASCII letters are replaced by a percent sign followed by their two-digit hexadecimal code. This is essential when building query strings, constructing API requests, or handling form submissions that include user-typed text. Use this tool to quickly encode a value before inserting it into a URL, or to decode an encoded string back to a readable form.
How to use
- Choose Encode to make a value safe for use in a URL, or Decode to read an already-encoded string.
- Paste the value into the input field — for example a search term, a redirect URL, or a query-string parameter.
- Copy the encoded or decoded result and drop it into your link or API request.
- Encode individual values rather than a whole URL, so that the slashes and question marks that structure the URL are preserved.
Frequently asked questions
What is the difference between encoding a value and a whole URL?
A full URL contains structural characters like : / ? & that should stay as-is. You normally encode only the individual values you insert into a URL — such as a single query parameter — so those structural characters are not mangled.
Why do spaces become %20 or +?
Spaces are not allowed in URLs, so they are percent-encoded as %20. In the query string of some forms, spaces are encoded as +. Both decode back to a normal space.
Is any data sent to your servers?
No. Encoding and decoding run locally in your browser.