URL Encoder / Decoder

Paste a URL or text to instantly encode it with percent-encoding, or paste an encoded string to decode it back.

Encode

plain text → %XX

Decode

%XX → plain text
0
Input chars
0
Encoded chars
0%
Size overhead
0
Encoded segments
Copied!

Summary

Paste a URL or text to instantly encode it with percent-encoding, or paste an encoded string to decode it back.

How it works

  1. Paste or type your plain URL or text into the Encode input field.
  2. The tool immediately applies encodeURIComponent() and shows the result.
  3. To decode, paste a percent-encoded string into the Decode input field.
  4. The tool applies decodeURIComponent() and shows the plain-text result.
  5. Use the Copy button next to each output to copy it to your clipboard.
  6. Click Swap to move the encoded output into the decode field in one click.

Use cases

  • Build query strings for REST API calls with special characters.
  • Debug URLs that contain encoded parameters sent by a browser.
  • Encode file names or paths before embedding in a URL.
  • Decode obfuscated or percent-encoded redirect URLs.
  • Prepare form data values for use in a GET request.
  • Verify that a backend correctly handles encoded input.
  • Encode Unicode text (emoji, non-ASCII characters) for URL use.
  • Strip and inspect %20, %2F, and other common escape sequences.

Frequently Asked Questions

Last updated: 2026-06-09 · Reviewed by Nham Vu