URL Encoder
Encode text and URLs into safe format for query parameters and paths.
About the URL Encoder
The URL Encoder converts text into percent-encoded form so it can travel safely inside a URL: spaces become %20, á becomes %C3%A1, & becomes %26. Without encoding, special characters break query strings, truncate parameters, or change the meaning of a link.
It is essential when building query parameters by hand, passing a URL as a parameter inside another URL, or embedding user text into links for APIs, redirects, and mailto/share links.
How to use it
- Type or paste the text or URL fragment to encode.
- The encoded version appears instantly.
- Copy the result into your query string, API call, or link.
- Use the decoder tool to verify it round-trips correctly.
Frequently asked questions
When must I encode text for a URL?
Whenever a value contains spaces, accents, or reserved characters like &, ?, =, # — typically user input or URLs nested inside other URLs.
Should I encode a whole URL?
Usually you encode parameter values, not the entire URL — encoding the whole thing would break the :// and ? separators. Encode each value, then assemble.
What is the difference between %20 and + for spaces?
Both represent a space: %20 works everywhere in a URL, while + is only interpreted as a space in query strings.
Is my text uploaded?
No. Encoding happens in your browser; nothing is transmitted.