Encode and decode URL strings. Safely convert special characters in query parameters and paths.
Enter the string you want to encode, or the URL-encoded string you want to decode.
Choose Component mode (for query parameters) or Full URL mode, then encode or decode.
Review the conversion result and click 'Copy' to copy to clipboard.
Mode only affects encoding
Recommended for query values (encodes all special characters)
URL Encoder/Decoder is an online tool that converts special characters in URLs to percent-encoding format. It converts characters that cannot be used directly in URLs (such as Japanese, spaces, and symbols) to a safe format, helping you build correct URLs for web application development and API integration.
Component mode encodes all special characters including ":", "/", "?", "&", and "=". Use it for query parameter values. Full URL mode preserves URL-meaningful characters (scheme's ":", path's "/", etc.) and encodes everything else.
Japanese text is converted to a byte sequence in UTF-8, and each byte is encoded in "%XX" format (where XX is hexadecimal). For example, the Japanese character for "a" becomes "%E3%81%82".
This tool uses standard percent-encoding, so spaces become "%20". The "+" format is notation used in older form submissions (application/x-www-form-urlencoded).
Double encoding occurs when an already encoded string is encoded again. For example, "%20" becomes "%2520". This can cause issues if done unintentionally, so make sure to input the original text before encoding.
No, all processing happens entirely in your browser. Your input data is never sent to any server.