URL Encoder/Decoder

Encode text for safe URL transmission or decode URL-encoded strings. Perfect for web developers, API testing, and SEO work.

Back to All Tools

Encoding Method:

Input Text 0 characters
Output 0 characters

What is URL Encoding?

URL encoding, also known as percent-encoding, converts characters into a format that can be transmitted over the Internet. Special characters are replaced with a "%" followed by two hexadecimal digits representing the character's ASCII code.

When to Use URL Encoding:

Encoding Methods:

Component Encoding (encodeURIComponent): Encodes all special characters except: A-Z a-z 0-9 - _ . ! ~ * ' ( )
Use this for encoding URL parameters and query strings.

Full URL Encoding (encodeURI): Preserves URL structure characters: : / ? # [ ] @ ! $ & ' ( ) * + , ; =
Use this for encoding complete URLs while maintaining their structure.

Character URL Encoded Description
Space %20 Space character
! %21 Exclamation mark
# %23 Hash/pound sign
$ %24 Dollar sign
% %25 Percent sign
& %26 Ampersand
+ %2B Plus sign
= %3D Equal sign

Example:

Original: "Hello World! How are you?"

URL Encoded: "Hello%20World!%20How%20are%20you%3F"

Full URL: "https://example.com/search?q=Hello World"

Encoded URL: "https://example.com/search?q=Hello%20World"