URL Encode / Decode
Encode text to percent-encoded URL format or decode URL-encoded strings back to plain text. Choose between full (encodeURIComponent) and partial (encodeURI) encoding. Your data never leaves your device.
encodeURIComponent encodes all special characters including /, ?, =, &. Use for query parameter values.
0 chars
Output will appear here
Frequently Asked Questions
- What is the difference between encodeURIComponent and encodeURI?
- encodeURIComponent encodes all special characters including /, ?, =, and &, making it ideal for encoding query parameter values. encodeURI only encodes characters that are unsafe in a URL but preserves the overall URL structure, so it is suitable for encoding a full URL.
- Is this URL encoder free to use?
- Yes, 100% free. No account needed, no limits, and no uploads — everything runs in your browser.
- Are my data and URLs safe?
- All processing runs entirely in your browser using built-in JavaScript APIs. Nothing is sent to any server.
- Why does decoding show an error?
- The input contains an invalid percent-encoded sequence, such as %ZZ or a lone % sign. Make sure the encoded string is valid before decoding.
- Does it work on mobile?
- Yes, it works on all modern browsers including mobile Safari and Chrome on iOS and Android.