URL Encoder / Decoder
Encode or decode URLs, query strings and Base64 instantly. Supports encodeURIComponent, encodeURI and Base64.
Free URL Encoder & Decoder — Percent-Encode Any URL
URLs can only contain a limited set of ASCII characters. Any character outside that set — spaces, special symbols, non-Latin letters, or characters with special meaning in URLs — must be encoded before the URL can be safely transmitted. This free URL Encoder converts any text or URL into its percent-encoded form, and the decoder reverses the process — all in your browser with no data sent to any server.
Paste any URL or text string to encode. The tool converts all characters that require encoding into their percent-encoded equivalents (space → %20, & → %26, etc.). Use the decoder to reverse any percent-encoded string back to readable text.
URL encoding is essential for developers building APIs, web applications, and any system that constructs or processes URLs programmatically. Incorrect URL encoding causes broken links, failed API calls, and security vulnerabilities.
URL Encoding Reference
Space. Encoded as %20 in standard percent-encoding, or + in query strings (application/x-www-form-urlencoded format).
& (ampersand). Encoded as %26 when used inside a query parameter value to prevent it from being interpreted as a parameter separator.
= (equals). Encoded as %3D when used inside a parameter value to prevent confusion with key=value assignment.
+ (plus). Encoded as %2B in strict encoding. In query strings, + represents a space in some formats.
Non-ASCII characters. UTF-8 characters (accented letters, CJK characters, Arabic, etc.) are encoded as their UTF-8 byte sequence in percent-encoded form (e.g., é → %C3%A9).
Related Tools
- QR Code Generator – Encode a URL as a scannable QR code.
- .htaccess Redirect Generator – Create redirect rules for URL changes.
- HTML Encoder – Encode HTML special characters for safe display.
Frequently Asked Questions
What is URL encoding?
Converting special characters into %XX hex format so they can be safely used in URLs.
When do I need to encode?
Any time a URL contains spaces, &, =, ?, # or non-ASCII characters used as query parameter values.
encodeURI vs encodeURIComponent?
encodeURI preserves URL structure characters. encodeURIComponent encodes everything including / and ? for use inside parameter values.
Is this free?
Yes. Free, browser-only processing.