Free Online URL Encoder and Decoder, Component, Full URL & Query Parts
Percent-encode text for a URL or decode it back. Encode a single value the strict way for a query string, or a whole URL the lighter way that leaves the slashes alone, because the two are different and mixing them breaks links. It also splits a full URL into its protocol, host, path, query and fragment.
Enjoying WizTools123? Help keep our server infrastructure 100% free and open for everyone.
Encoding a Value Is Not Encoding a URL
Mixing the two is how links quietly break.
| Input | Encode for a URL (a value) | Whole URL |
|---|---|---|
| a/b c | a%2Fb%20c | a/b%20c |
| https://x.com/?q=a b | https%3A%2F%2Fx.com... | https://x.com/?q=a%20b |
Where Your Input Goes
Nowhere. And you can check that yourself.
How to Encode and Decode a URL
A few steps, and nothing is uploaded.
What to Know About URL Encoding
Including the things this tool cannot do.
Key Features & Capabilities
What this tool does, and what it deliberately does not.
About the URL Encode / Decode
Percent-encoding is what lets a space, an accent or a slash travel inside a URL. It comes up whenever you build a link by hand, debug a redirect, or read a value out of a query string, and it has one trap that catches almost everyone: there are two kinds of it, and they are not interchangeable.
Encoding a single value, like a search term going into a query string, escapes everything that has meaning in a URL, including the slashes. Encoding a whole URL leaves that structure alone and only escapes the stray spaces and accents. Run the value encoder on a full URL and every slash becomes %2F and the link dies. This tool keeps the two clearly separate and lets you pick.
It also decodes, with an honest choice about the plus sign, which means a space in form data and a literal plus everywhere else. And it splits a whole URL into its parts using the browser's own parser, so the protocol, host, path, each query parameter and the fragment come out correctly even in the awkward cases a quick regex gets wrong. All of it stays in your browser, which matters because URLs so often carry tokens.
Frequently Asked Questions
Value versus whole URL, the plus sign, and why encoding is not privacy.