Percent-encode text for safe use in query strings and paths, or decode encoded URLs back to readable text — locally in your browser.
Output
The input is not valid percent-encoding: a % sign is not followed by two hexadecimal digits.
Encoding and decoding run entirely in this browser tab. Nothing is sent to a server.
GUIDE
How to encode and decode URLs
Pick the encoding scope
Component encoding escapes every reserved character, including slashes and ampersands, which is what you want for a single value inside a query string. Full-URI encoding keeps structural characters such as /, ?, and & intact so an entire address stays a working address. Choose based on whether you are encoding a value or a whole URL.
Understand what gets escaped
Spaces become %20, accents and non-ASCII letters become sequences such as %C3%A9, and reserved characters become their hex forms. Decoding reverses all of it. If a decoded address still looks encoded after one pass, run decode again; some systems double-encode, and repeated decoding usually exposes the original value.
Watch for broken sequences
A lone % or a % followed by characters that are not hexadecimal digits is invalid. The decoder reports the exact problem instead of guessing, which matters when you are debugging a query parameter that arrived mangled from a form, an analytics link, or an API log.
Test the result in context
After encoding, paste the value back into the full URL and confirm the page or API resolves as expected. Encoding solves most "value broke my URL" problems, but some systems additionally require specific characters to stay literal; the context decides, not the tool.
HELP / FAQ
URL encoding questions
What is the difference between the two modes?
Component encoding escapes everything unsafe for a single parameter value, including / and &. Full-URI encoding preserves those structural characters so a complete address remains navigable. Use component mode for values, full-URI mode for whole addresses.
Why do spaces show as %20 or +?
In percent-encoding a space is %20; the + convention belongs to form data and some legacy systems. This tool produces %20 in component mode, which is the standard and universally decodable form.
Can decoding fail?
Yes, when a % is not followed by two hexadecimal digits. The tool reports that instead of guessing, so you can find the corrupted part of the input quickly.
Is my URL sent anywhere?
No. The conversion happens in this browser tab and nothing is transmitted to a server.
EXPLORE BY CATEGORY · BFOTKIT
More tools like this
Pick a category to see every tool in it — then open one and discover related tools.