URL Encoder / Decoder
Encode special characters in a URL to percent-encoded format (RFC 3986), or decode a percent-encoded string back to its original form. Useful for debugging URL parameters and form submissions.
URL Encoder/Decoder — Percent-encoding Made Easy
ToolOverview
URLs may only contain ASCII characters. Chinese, spaces, &, = and other special characters must be percent-encoded (%xx) to travel safely. This tool implements JavaScript's encodeURIComponent and decodeURIComponent, supports pasting entire URLs to auto-extract query parameters, and batch-encodes individual values.
How to use
- Pick a mode: full URL encode, single param, or decode
- Paste your URL or parameter value
- Result appears instantly; copy to clipboard with one click
Use Cases
- Safely transmit Chinese / emoji inside URL params
- Debug API requests — see what the server actually receives
- Encode OAuth redirect_uri parameters correctly
- Convert form data to application/x-www-form-urlencoded
FAQ
Q: encodeURIComponent vs encodeURI?
A: The former encodes almost everything (use for VALUES). The latter keeps URL syntax characters :/@?&=# (use for FULL URLs).
Q: Garbled after decode?
A: Likely a charset mismatch (GBK vs UTF-8). This tool assumes UTF-8.
Q: Space → %20 or +?
A: %20 in paths, both work in query strings. We default to %20.
Tips & Related Tools
Debugging a REST API? Paste the server-reported URL here to see exact params.
In JS fetch, prefer URLSearchParams — it handles encoding automatically.
Need Base64 URL-safe variant (+/ → -_)? Use the Base64 tool.
Common Use Cases
Use the URL Encoder Decoder Online Free online for these scenarios:
- Daily work:: Bookmark this tool, use directly when needed, save time
- Easy to use:: Runs in web browser, no software installation needed
- Data safety:: All processing in your local browser, files not uploaded to server
- Free to use:: Completely free, no signup, no watermarks, no feature limits
- Cross-platform: Mac, Windows, Linux, mobile all work, just need a browser
Frequently Asked Questions
Here are the most common questions:
Q: Is this tool safe?
A: Yes. 100% client-side, data not uploaded, disappears when page closes.
Q: Do I need to register?
A: No. No login, no account, use directly.
Q: Are there usage limits?
A: No. Completely free, unlimited use.
Q: Does it support mobile?
A: Yes. All modern browsers work, including mobile.
Related Tutorials
Want to learn more about URL Encoder Decoder Online Free? Check out these tutorials: