URL Encode / Decode
Convert characters and Japanese text that can't be used in URLs into “%xx” form, or turn them back.
What is URL encoding?
Only certain characters are allowed in a URL; Japanese text, spaces, and some symbols (such as ? & = # space) can't be used as-is. URL encoding converts these into % followed by hex digits (percent-encoding). It's used when building query strings or API parameters.
The difference between the two methods
- encodeURIComponent (default): encodes everything, including symbols like
? & = / :. Best for encoding a single query “value”. - encodeURI: leaves symbols like
? & / :unencoded so the overall URL structure stays intact. Good for lightly encoding a whole URL. Uncheck the box to use this.
Decode
Turns “%xx”-style strings back into the original readable characters (including Japanese).
FAQ
Can it convert URLs that contain Japanese?
Yes. It converts Japanese, spaces, and symbols into “%” form and back again.
What's the difference between encodeURIComponent and encodeURI?
The former encodes everything, including symbols (for query values). The latter keeps a URL's delimiter symbols. Toggle between them with the checkbox.
Can it decode too?
Yes. It turns “%xx”-style strings back into the original readable characters.
Is my input sent anywhere?
No. Processing happens only in your browser.
