Encode special characters in URLs and decode percent-encoded strings — instantly in your browser.
Paste a URL or query string below. Choose
Encode
to percent-encode special characters, or
Decode
to convert
%XX
sequences back to readable text. Three encoding modes are available to suit different use cases.
Common characters and their percent-encoded equivalents. Click any row to append that character to the input.
URL encoding (also called percent encoding) converts characters that are not allowed or have special meaning in a URL into a
%
followed by two hexadecimal digits representing the character's UTF-8 byte value. For example, a space becomes
%20
, the
&
character becomes
%26
, and the
=
sign becomes
%3D
. This ensures that URLs remain valid and unambiguous regardless of the characters in query strings or path segments.
- _ . ! ~ * ' ( )
. Use this for individual query parameter
values
. It encodes
&
,
=
,
+
,
/
,
?
, and
#
, which is correct when they appear inside a value rather than as URL structure delimiters.
: / ? # [ ] @ ! $ & ' ( ) * + , ; =
. Use this to encode a full URL without breaking its structure.
+
instead of
%20
. This is used when submitting HTML form data via POST or GET.
%3Cscript%3E
→
<script>
.