Free URL Encoder & Decoder
Encode special characters into percent-encoded URL format, or decode a percent-encoded URL back to human-readable text. Supports encodeURIComponent and encodeURI modes.
Frequently Asked Questions
What is URL encoding?
URL encoding (percent-encoding) replaces unsafe characters in URLs with a % followed by two hex digits. For example, a space becomes %20 and an ampersand becomes %26. This ensures URLs are transmitted correctly over the internet.
What is the difference between encodeURI and encodeURIComponent?
encodeURI() encodes a full URI but preserves URL-special characters like :, /, ?, #, and &. encodeURIComponent() encodes everything except letters, digits, and a few special characters — use it for encoding individual query parameter values.
Related Free Tools
Free Base64 Encoder & Decoder
Encode text or files to Base64 and decode Base64 strings — instant, private.
Free JSON Formatter & Validator
Beautify, minify, and validate JSON with error highlighting — no server.
Free Number Base Converter
Convert between binary, octal, decimal, and hexadecimal number systems.
Your data never leaves your device
All encoding/decoding runs locally in your browser. No data is transmitted. You can verify this in your browser's Network tab — no outbound requests are made with your data. Read our Privacy Policy →