URL encoder
Escape or unescape characters so they travel safely inside a URL.
Your text is processed only in your browser. Nothing is uploaded.
How to use this tool
- Choose Encode to make text URL-safe, or Decode to read an encoded URL.
- Paste your text and click Convert.
- Copy the result.
Why URLs need encoding
URLs can only contain a limited set of characters. Spaces, accents, and symbols like and, question mark, and hash have special meaning or are not allowed, so they are replaced with a percent sign followed by a code, for example a space becomes %20. This tool uses the browser's own encoder, so the output matches what servers expect.
A real example
You are building a search link and the query contains a space and an ampersand. Pasting it raw would break the link. Encoding turns it into a single safe value you can drop straight into a query string, so the page loads the search you intended.
Common questions
What is the difference from Base64?
URL encoding only escapes the characters that are unsafe in a URL and keeps the rest readable. Base64 rewrites everything into a compact text form. Use URL encoding for links and query strings.
Why did decoding show an error?
The input had a malformed percent sequence, such as a lone percent sign. Check that every percent is followed by two valid characters.