URL Encoder / Decoder

Encodes all special characters including : / ? # — best for query parameters
Common URL Encodings
CharacterEncodedDescription
(space)%20Space
!%21Exclamation mark
#%23Hash / Fragment
$%24Dollar sign
&%26Ampersand
+%2BPlus sign
/%2FSlash
:%3AColon
=%3DEquals sign
?%3FQuestion mark
@%40At sign

How to Use

1

Choose Encode or Decode mode

2

Paste your URL or text

3

Click Convert and copy the result

𝕏 Share Facebook LinkedIn Reddit
Used 0 times on this device

How to Use URL Encoder / Decoder

  1. 1
    Paste text or a URL to encode
    Enter raw text or a URL containing special characters into the input field.
  2. 2
    Click Encode
    Click Encode to convert special characters (spaces, &, ?, =, etc.) to percent-encoded equivalents.
  3. 3
    Or decode a percent-encoded URL
    Switch to Decode mode, paste a percent-encoded string like %20 or %3A, and click Decode.
  4. 4
    Copy the result
    Click Copy to copy the encoded or decoded text.

Features

Use Cases

Encode query string parameters

When building URLs with query parameters containing spaces or special characters, encode them to create valid URLs.

Debug encoded URLs

Decode complex percent-encoded URLs from logs, API requests, or browser address bars to make them readable.

API development

Developers encode parameter values before appending them to API endpoint URLs to ensure correct transmission.

Email and link sharing

Encode URLs to be safely shared in emails, social media, or documents where certain characters may be misinterpreted.

Form data inspection

Decode URL-encoded form submission data to inspect what values were sent in a POST request.

Frequently Asked Questions

Q: What is percent encoding?

Percent encoding (URL encoding) replaces characters that are not allowed in URLs with a % followed by two hexadecimal digits representing the character's ASCII or UTF-8 code.

Q: What is the difference between encodeURI and encodeURIComponent?

encodeURI encodes a full URL, preserving characters like /, :, and ?. encodeURIComponent encodes a single component value, encoding those characters too.

Q: Is my text sent to a server?

No. All encoding and decoding uses JavaScript's encodeURIComponent/decodeURIComponent in your browser.

Q: How are spaces encoded?

Spaces are encoded as %20. In HTML form submissions, spaces may appear as + signs, but %20 is the standard for URLs.

Q: Can it decode double-encoded URLs?

Run the decode function twice to decode double-encoded strings.

More Free Tools

Sister site: GenFactories – Fun Generators