Encode special characters for safe URL usage, or decode percent-encoded strings back to readable text. Supports full UTF-8 characters.
URL encoding (also called percent-encoding) converts special characters into a format that can be safely transmitted over the internet. Unsafe characters are replaced with a % followed by two hexadecimal digits. For example, a space becomes %20, and an ampersand becomes %26.
encodeURIComponent encodes everything including slashes and colons, used for individual parameter values. encodeURI preserves URL structure characters, used for full URLs. Our encoder uses encodeURIComponent for maximum safety.
Yes! The tool fully supports UTF-8 encoding. Non-English characters, Chinese, Japanese, Korean, and emojis all encode correctly as multi-byte percent sequences.
encodeURIComponent escapes everything except unreserved characters (safe inside query strings); encodeURI preserves URL structure characters like / and ?. This tool supports both modes.
Whenever you put special characters (spaces, &, =, ?, #, non-ASCII like Chinese) into a URL or query parameter — otherwise the value gets misparsed or dropped.
Yes. Non-ASCII characters are percent-encoded as UTF-8 bytes, and decoding restores them exactly.
Deploy this tool on Vercel · Ship faster with Cursor · Your static site on Cloudflare