This free URL encoder and decoder converts text to URL-encoded format (percent-encoding) and back, following RFC 3986. URL encoding converts unsafe ASCII characters into a "%" followed by two hexadecimal digits, allowing special characters to be safely transmitted in URLs. All processing happens in your browser.
Features
Bidirectional — Encode text to URL-safe format and decode back to plain text
RFC 3986 Compliant — Properly encodes all reserved characters
Full URL Support — Handles query strings, path segments, and fragments
Character Reference Grid — Quick-click common encoded characters
100% Client-Side — Your data never leaves your browser
How to Use
Choose Encode or Decode mode
Type or paste your text into the input area
Click Convert to see the result instantly
Use the character reference to add common encoded characters with one click
Frequently Asked Questions
Why do URLs need encoding?
URLs can only contain certain ASCII characters. Characters like spaces, ?, &, and # need to be encoded as %XX sequences to be transmitted safely.
What's the difference between encodeURI and encodeURIComponent?
encodeURIComponent encodes more characters (including /, ?, &, =) making it suitable for query string parameters. This tool uses encodeURIComponent/decodeURIComponent.
Can I encode a full URL?
For encoding specific query parameters, use Encode mode. To decode a full encoded URL, use Decode mode.
Is my data sent to a server?
No. All encoding and decoding happens entirely in your browser. Nothing is sent anywhere.