Convert text to URL-safe percent-encoding and back. Auto-detects encoded input. Supports component, full URL, form data, and raw byte encoding. Live preview as you type.
%-encoded sequences and the tool automatically decodes it. Otherwise it encodes. No mode-switching needed for typical use.+ for spaces), or Raw bytes for maximum encoding.café encodes as caf%C3%A9, not garbled.Type or paste in either box. The other side updates instantly.
Encoding Mode
Browser-native encoding using encodeURIComponent and friends. No libraries, instant results.
% followed by hex codes. So a space becomes %20, café becomes caf%C3%A9, and so on. This tool does that conversion in either direction.: / ? # & = unencoded so the URL still looks like a URL. Use this when you have something like https://api.com/path?q=hello world and just want the spaces fixed.
application/x-www-form-urlencoded format). If you're working with form data, pick the Form data mode here. Outside of forms, + usually means a literal plus sign.
% character. Since % is the escape char in URLs, it has to be encoded as %25. That's expected. If you're seeing this and didn't expect to, your input might already be encoded - check that you haven't accidentally double-encoded a string.%2520 instead of %20, that's double-encoded - decode it twice. Triple-encoded? Three times. (And you should probably ask whoever produced that string what they're doing.)