This URL encoder and decoder converts text to percent-encoded form — spaces become %20, ampersands become %26 — and decodes it back to normal. It is essential for building query strings and sharing links that contain spaces or special characters.
How to use the URL encoder
- Choose Encode or Decode.
- Paste the text or the encoded URL.
- Copy the converted result.
Why URL-encode?
URLs may only contain a limited set of characters, so anything else must be “percent-encoded” to travel safely. Encoding lets you put spaces, ampersands, accents, slashes and other symbols into query parameters and paths without breaking the link or losing part of a value. Analytics tags, search links and API requests all rely on it.
URL encoding vs. other encoders
URL encoding escapes unsafe characters specifically for links. Base64 re-packs data into an ASCII-safe alphabet for transport, and HTML entity encoding escapes characters for display in a web page. They solve different problems, so pick the one that matches where the text will live.