🔗 URL Encoder/Decoder

Encode and decode URLs with percent encoding

Input Length
25
Output Length
35
Special Chars
6
Size Change
40.0%

💡 Quick Examples

📚 URL Encoding Reference

%20 or +
Space
!
%21
Exclamation
#
%23
Hash
$
%24
Dollar
%
%25
Percent
&
%26
Ampersand
'
%27
Apostrophe
(
%28
Open paren
)
%29
Close paren
*
%2A
Asterisk
+
%2B
Plus
,
%2C
Comma
/
%2F
Slash
:
%3A
Colon
?
%3F
Question
@
%40
At sign
=
%3D
Equals

📖 About URL Encoding

What is URL Encoding? URL encoding (percent-encoding) converts characters into a format that can be transmitted over the Internet. Special characters are replaced with a % followed by their hex value.

encodeURIComponent encodes all characters except: A-Z a-z 0-9 - _ . ! ~ * ' ( )
Use for: query parameters, form data

encodeURI preserves URL structure characters like : / ? # [ ] @
Use for: complete URLs where you want to keep the structure

Form encoding (+) is like encodeURIComponent but represents spaces as + instead of %20. Common in HTML form submissions.