URL Encoder / Decoder
Encode text to percent-encoded URL format or decode URL strings. Handles Unicode and Japanese characters. Free tool.
How to Use
Choose a mode
Select Encode to convert text to URL-encoded format, or Decode to convert percent-encoded text back to readable text.
Enter your text
Type or paste the input. Japanese and other Unicode characters are encoded as UTF-8 bytes (e.g., %E3%81%82 for あ).
View the result
The encoded or decoded result appears instantly in the output area.
Copy or swap
Click Copy to save the result. Use Swap to move the output to input and flip the mode for round-trip testing.
FAQ
URL encoding converts characters that are not allowed or have special meaning in URLs into a % sign followed by two hexadecimal digits. For example, a space becomes %20, and あ becomes %E3%81%82 (its UTF-8 bytes in percent notation).
encodeURIComponent (used by this tool) encodes almost all special characters, including /, ?, #, and &. encodeURI is less aggressive and is designed to encode a complete URI while leaving its structural characters intact.
Yes. URL encoding and percent encoding refer to the same mechanism defined in RFC 3986. The term 'percent encoding' is more formal; 'URL encoding' is widely used in everyday conversation.
Yes. Non-ASCII characters including Japanese are first converted to UTF-8 bytes, then each byte is percent-encoded. For example, 日 is encoded as %E6%97%A5.