tcpx

// security

URL Encoder

Encode and decode URLs for safe transmission.

mode
encodeURIComponent

Encodes all special characters including URI reserved characters

e.g. hello world! → hello%20world%21

original url / text0 chars
0 bytes
encoded result

Encoded URL will appear here.

common url encodings
' '%20Space
'!'%21Exclamation mark
'"'%22Quotation mark
'#'%23Hash/Fragment
'$'%24Dollar sign
'%'%25Percent sign
'&'%26Ampersand
'''%27Apostrophe
'+'%2BPlus sign
'='%3DEquals sign
'?'%3FQuestion mark
'@'%40At symbol
url encoding info
When to use
  • • Query parameters with special characters
  • • Form data submission
  • • API requests with user input
  • • Embedding URLs in other URLs
Reserved characters
: / ? # [ ] @ ! $ & ' ( ) * + , ; =
Safety tips
  • • Always encode user input in URLs
  • • Use the appropriate encoding method
  • • Validate decoded output