Free online tools to generate, calculate, convert, format, transform, and de/en-code.
 

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

CharacterEncodedDescription
(space)%20 or +Space character
!%21Exclamation mark
"%22Double quote
#%23Hash/Fragment identifier
$%24Dollar sign
%%25Percent sign
&%26Ampersand
'%27Single quote
(%28Opening parenthesis
)%29Closing parenthesis
+%2BPlus sign
,%2CComma
/%2FForward slash
:%3AColon
;%3BSemicolon
=%3DEquals sign
?%3EQuestion mark
@%40At sign
[%5BOpening bracket
]%5DClosing 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:


Share with