URL Encoder
A web address can only contain a limited set of characters, so anything else — a space, an ampersand, an accent — has to be written as a percent code. This does that conversion, and lets you choose whether you're encoding a whole URL or just one value being dropped into it, which is the distinction that trips most people up.
Nothing is uploaded — this tool runs inside your browser, so your files never leave your device.
Why use this tool
- Two modes: a whole URL, or a single value inside one
- Handles Unicode correctly, encoding to UTF-8 first
- Explains which characters each mode leaves alone
- Instant, free, and nothing is uploaded
How it works
- 1Paste your text or URL.
- 2Pick whether it's a whole address or a value going inside one.
- 3Copy the encoded result.
URL Encoder — frequently asked questions
Encoding a whole URL leaves the structural characters — : / ? # & = — alone, because they're doing their job. Encoding a value escapes them too, because inside a query parameter an & would otherwise be read as the start of the next parameter and break the link.
More developer tools
Looking for something else? Browse all developer tools
Explore the other tools
Same deal everywhere on the site — free, no sign-up, and no watermark on anything you download.
Or see every tool on one page.