URL Encoder
Spaces, ampersands and non-English letters break links. Paste your text here and get a percent-encoded version that works in any URL.
What is the URL Encoder?
The URL Encoder turns text into a form that is safe to put inside a web address. Spaces, ampersands, slashes and letters from other languages each have a special meaning or are not allowed in links, so they are replaced with % codes, such as %20 for a space. Developers use it for query values and API calls, and marketers use it when a campaign name or search term has spaces or symbols. You can encode a single value or a full link while keeping its structure.
Who it is for: Developers, marketers building links, and anyone putting text with spaces or symbols into a URL.
How to use the URL Encoder
- Paste the text or link you want to encode.
- Choose Component for a single query value, or Full URL to keep the slashes and question mark as they are.
- Copy the result and paste it into your link.
Why use it
- Links that never breakSpaces and symbols are encoded the standard way, so the server reads exactly what you meant.
- Any languageHindi, Arabic, Chinese and emoji are encoded as UTF-8, the format every modern browser expects.
- Two modesEncode one value or a whole link without breaking its slashes and question mark.
- Instant and privateThe result updates as you type and nothing leaves your device.
At a glance
- What you put in
- Any text or link, including emoji and non-English letters
- What you get
- Percent-encoded text (UTF-8)
- Limits
- No length limit beyond your browser’s memory
- Privacy
- Runs in your browser. Nothing you enter is uploaded or stored.
- Price
- Free for everyone. No subscriptions, no payments, no watermark.
- Works offline
- Yes, once the page has loaded
- Last checked
- by AK Shine
Worked example
café & bar/menu?size=large
caf%C3%A9%20%26%20bar%2Fmenu%3Fsize%3Dlarge
Component mode encodes the slash and question mark too, which is right for a single value inside a link.
When to use something else
- To read an encoded link, use the URL Decoder instead.
- To build a full tracking link with several values, the UTM Builder encodes each value for you.
Questions people ask
What is the difference between Component and Full URL?
Component encodes every character that has a special meaning in a link, such as / ? & = # and spaces, which is right for one value like a search term. A few safe marks like - _ . ! ~ * ( ) and the apostrophe stay as they are. Full URL leaves characters such as / ? & = alone so the link still works.
Why does a space become %20?
A URL cannot hold a real space, so it is written as %20, its code in hexadecimal. In form data and search queries a + also means a space, but elsewhere in a link + is a real plus sign, so %20 is the safe choice.
Does this work with Hindi, Arabic or emoji?
Yes. The text is turned into UTF-8 bytes first, then each byte is encoded, which is what every modern browser expects.
What is URL encoding?
It replaces characters that are not allowed in a web address with a % sign and two letters or numbers, so the link reaches the server exactly as you meant it.
Should I encode the whole link or just part of it?
Usually just the part you are adding, such as a search term or a name. Encoding a whole link in Component mode turns https:// into https%3A%2F%2F, which breaks it.