everycalctool.digital

URL Encoder/Decoder

Convert text to URL-encoded format and decode URL-encoded text with this simple online tool.

Input Text

0 characters

About URL Encoding/Decoding

URL encoding, also known as percent-encoding, is a mechanism for encoding information in a Uniform Resource Identifier (URI) under certain circumstances.

URL encoding replaces unsafe ASCII characters with a "%" followed by two hexadecimal digits. URLs cannot contain spaces and certain other characters that are not allowed in URLs.

Characters that are URL encoded:

  • Reserved characters: ! * ' ( ) ; : @ & = + $ , / ? # [ ]
  • Unsafe characters: space % { } | \ ^ ~ [ ] `
  • Non-ASCII characters: é, ñ, ü and other international characters

Common uses of URL encoding:

  • Creating valid URLs with special characters
  • Passing parameters in query strings
  • Submitting form data with the GET method
  • Encoding data for AJAX requests
  • Creating links with non-ASCII characters

Examples of URL encoding:

Space character: "Hello World""Hello%20World"

Special characters: "10% discount""10%25%20discount"

Non-ASCII: "café""caf%C3%A9"