Free online tools to generate, calculate,
convert, format, encode, and play.
 

URL Encoder/Decoder

Encode and decode URLs with support for component encoding, full URI encoding, and query string parsing.


Mode

Input

Output

Statistics

Input Length: 0 characters
Output Length: 0 characters
Size Change: -

Common Characters

Character Encoded Description
(space) %20 or + Space character
! %21 Exclamation mark
" %22 Double quote
# %23 Hash/Fragment identifier
$ %24 Dollar sign
% %25 Percent sign
& %26 Ampersand
' %27 Single quote
( %28 Opening parenthesis
) %29 Closing parenthesis
+ %2B Plus sign
, %2C Comma
/ %2F Forward slash
: %3A Colon
; %3B Semicolon
= %3D Equals sign
? %3E Question mark
@ %40 At sign
[ %5B Opening bracket
] %5D Closing bracket

About URL Encoding

URL encoding (percent-encoding) converts characters into a format that can be safely transmitted over the internet. Special characters are replaced with a percent sign (%) followed by two hexadecimal digits representing the character's ASCII code.

Encoding Methods:
  • encodeURIComponent: Encodes all characters except: A-Z a-z 0-9 - _ . ! ~ * ' ( )
  • encodeURI: Preserves URL structure, doesn't encode: : / ? # [ ] @ ! $ & ' ( ) * + , ; =
  • Form encoding: Spaces become + instead of %20, used in form submissions

Common Use Cases

  • Query Parameters: Encoding values in URL query strings
  • API Requests: Passing data in HTTP requests
  • Path Segments: Encoding URL path components
  • Form Data: Submitting form data via GET/POST


Feedback

Help us improve this page by providing feedback, and include your name/email if you want us to reach back. Thank you in advance.


Share with