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 → %XXDecode
%XX → plain text0
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
- Paste or type your plain URL or text into the Encode input field.
- The tool immediately applies encodeURIComponent() and shows the result.
- To decode, paste a percent-encoded string into the Decode input field.
- The tool applies decodeURIComponent() and shows the plain-text result.
- Use the Copy button next to each output to copy it to your clipboard.
- 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