🔗URL Encoder / Decoder
Percent-encode Korean and special characters for URLs, or decode them. Supports encodeURIComponent and encodeURI modes. Useful for building API querystrings, analyzing search URLs, recovering broken Korean URLs, and web debugging.
How to use
- 1Enter text or URL on the left.
- 2Press encode or decode.
- 3Copy the result.
FAQ
Difference between encodeURI and encodeURIComponent?+
encodeURI is for whole URLs and preserves separators like ':/?#&='. encodeURIComponent is for querystring values and encodes all special characters.
Why do Korean URLs look like %EA%B0%80?+
The URL standard allows only ASCII, so non-ASCII characters (Korean, emoji) are encoded byte-by-byte in UTF-8 as %XX. One Korean character = 3 bytes = 9 % characters.
Which characters get encoded?+
Space, Korean, Hanja, emoji, and reserved characters like !#$&'()*+,/:;=?@[].
Which mode for querystrings?+
encodeURIComponent is safer. encodeURI preserves structural characters like = & ?, which can change intended meaning.
URL is too long. Can I shorten it?+
Percent encoding doesn't shorten characters. To compress some parameters, try the Text Compress tool.
Why does decoding produce garbled text?+
Possibly double-encoded (already encoded then re-encoded), or encoded in a non-UTF-8 charset like EUC-KR.