Developer Tools
URL Encoder/Decoder
Encode and decode URL query strings and paths
What this calculator does
URL encoding (percent encoding) converts characters that are unsafe or reserved in URLs into a format that can be transmitted correctly. Characters like spaces, ampersands, question marks, and non-ASCII characters are replaced with percent-encoded equivalents (e.g., space becomes %20). This tool encodes and decodes entire URLs or individual URL components. Developers need URL encoding when constructing query strings with user input, passing data through URL parameters, encoding redirect URLs, and working with APIs that expect URL-encoded request bodies (application/x-www-form-urlencoded). Incorrect encoding is a common source of bugs in web applications.
How to use
- 01Paste a URL or stringEnter the URL or text you want to encode or decode.
- 02Choose encode or decodeSelect whether to percent-encode or decode the input.
- 03Copy the resultCopy the encoded or decoded output for use in your application.
URL Encoder/Decoder FAQ
What characters need to be URL encoded?▾
What is the difference between encodeURI and encodeURIComponent?▾
Why does my URL break when it contains spaces or special characters?▾
Interpret carefully
Outputs are decision-support estimates, not a substitute for professional judgment.
- Treating URL Encoder/Decoder output as a final professional diagnosis, quote, or legal determination
- Entering approximate values when the result is sensitive to units or precision
- Applying the FAQ answer (“What characters need to be URL encoded?”) to a special case without checking assumptions
Next steps
- Double-check inputs against your source documents (labs, statements, specs, or notes).
- Confirm the method below matches your use case before you act on the number.
- For medical, financial, or production decisions, verify with a qualified professional.
Disclaimer: Results are informational only and do not constitute medical, financial, legal, or professional advice. Report issues: sublimernj@gmail.com