URL Encoder / Decoder
URLs can only safely contain a specific set of ASCII characters. Anything outside that set \u2014 spaces, quotes, curly braces, emoji, non-Latin characters \u2014 must be percent-encoded (converted to %XX hex notation). This tool handles both directions: encode plain text for safe URL use, or decode a percent-encoded URL back to readable text.
Component vs Whole URI Encoding
Component mode (encodeURIComponent) escapes everything except a small safe set. Use it for individual URL parts like query string values: encodeURIComponent("hello world") becomes hello%20world. Whole URI mode (encodeURI) preserves URL structure characters like / ? # & = + \u2014 use it when you have a full URL you want to make safe without breaking its structure.
Frequently Asked Questions
Built by Derek Giordano \u00B7 Part of Ultimate Design Tools
Privacy Policy \u00B7 Terms of Service