URL Encode/Decode

Encode or decode URL strings for safe transmission over the internet.

0 characters / 0 bytes
About URL Encoding
Learn how URL encoding works and when to use it

What is URL Encoding?

URL encoding converts characters that are not allowed in URLs into a format that can be transmitted over the Internet. It replaces unsafe ASCII characters with a "%" followed by two hexadecimal digits.

When to use URL Encoding

  • When creating URLs with special characters or spaces
  • When sending form data via GET requests
  • When handling user input that will be part of a URL

Examples

Original: Hello World!
Encoded: Hello%20World%21
Original: https://example.com/?q=test&lang=en
Encoded: https%3A%2F%2Fexample.com%2F%3Fq%3Dtest%26lang%3Den