Your Base64 data stays in your browser. Client-side only

URL Encoder & Decoder

Fast, client-side URL percent-encoding and decoding. Encode special characters, query parameters, and Unicode strings securely in your browser.

Quick Samples:
Language:ENDE
Encode Mode:
71 chars71 B
100% Client-Side in Browser
0 chars0 B

What Is URL Encoding (Percent-Encoding)?

URL encoding, officially specified as percent-encoding in the RFC 3986 Uniform Resource Identifier (URI) specification, is a mechanism for converting characters into a safe format that can be reliably transmitted over the internet across any web server, browser, or proxy.

The standard URI character set is restricted to a small subset of US-ASCII characters: unreserved letters (A–Z, a–z), numbers (0–9), and four symbols (-, _, ., ~). Any other characters—such as spaces, punctuation, quotes, German umlauts (ä, ö, ü, ß), and emojis—must be converted into a percent sign (%) followed by two hexadecimal digits representing their UTF-8 byte values.

Example: A space character becomes %20. An ampersand (&) becomes %26. A German "ä" becomes %C3%A4.

What Is URL Decoding?

URL decoding is the reverse process of percent-encoding. It parses hexadecimal triplets (e.g., %2F) and restores the original characters (e.g., /) or multi-byte UTF-8 Unicode characters.

When web servers or APIs receive HTTP GET query parameters, they automatically decode the percent-encoded strings so that application code reads natural text (for instance, reading a search query "developer tools" rather than "developer%20tools").

Common URL Encoded Characters Reference Table

A quick-reference lookup for common reserved characters and their RFC 3986 percent-encoded hexadecimal values:

CharacterNamePercent CodePurpose / Delimiter
<space>Space%20 (or +)Separates words in query values
!Exclamation mark%21Reserved sub-delimiter in RFC 3986
"Double quote%22Delimiter in JSON and HTML attributes
#Number sign / Hash%23Fragment identifier anchor delimiter
$Dollar sign%24Reserved sub-delimiter in URLs
%Percent sign%25Escape character for percent-encoding
&Ampersand%26Separates query string key-value pairs
'Single quote%27Reserved sub-delimiter in RFC 3986
(Open parenthesis%28Reserved sub-delimiter in RFC 3986
)Close parenthesis%29Reserved sub-delimiter in RFC 3986
+Plus sign%2BRepresents space in form-encoded queries
,Comma%2CReserved sub-delimiter for lists in parameters
/Forward slash%2FPath segment separator
:Colon%3AScheme/port separator
;Semicolon%3BSub-delimiter in path segments
<Less than%3CUnsafe character in HTML contexts

The Difference: encodeURI vs. encodeURIComponent

encodeURI (Full URL Mode)

Designed to encode an entire complete URL. It assumes the string already has URL structure and preserves protocol delimiters, host slashes, query initiators (://, /, ?, &, #, =).

encodeURI("https://site.com/search?q=a&b=1")
➔ "https://site.com/search?q=a&b=1"
encodeURIComponent (Component Mode)

Designed for single query parameter values or path segments. It encodes all reserved characters including /, ?, &, and = so they do not conflict with the outer URL structure.

encodeURIComponent("https://site.com/search?q=a&b=1")
➔ "https%3A%2F%2Fsite.com%2Fsearch%3Fq%3Da%26b%3D1"

Practical Use Cases for URL Encoding

Query Parameters in Web APIs

When passing complex strings, email addresses, or search terms into GET parameters (e.g. user=john@doe.com becomes user=john%40doe.com).

OAuth & OpenID Redirect URIs

Authentication flows require passing the redirect callback URL as a parameter (e.g. redirect_uri=https%3A%2F%2Fmyapp.com%2Fcallback) so security gateways do not truncate parameters.

International URLs (IDN & Unicode)

Encoding non-ASCII characters like German umlauts (ä, ö, ü, ß), French accents, Cyrillic, and emojis ensures universal link compatibility across legacy routers and firewalls.

Frequently Asked Questions

Clear, concise answers to common questions about Base64 decoding, encoding, and specifications.

URL encoding (also known as percent-encoding) converts reserved and unsafe characters into a standard format recognized by RFC 3986. Because URLs can only contain a limited set of ASCII characters, characters like spaces, ampersands, question marks, and non-ASCII Unicode glyphs must be represented with a percent sign followed by two hexadecimal digits (e.g., %20 for space).