DevToolKit

Free URL Encode & Decode Online

Encode and decode URLs, query strings, and URI components instantly. Supports encodeURIComponent and encodeURI variants.

Encodes all special characters. Best for encoding query parameter values.

Common URL Encodings

space %20
! %21
# %23
& %26
= %3D
? %3F
@ %40
+ %2B
/ %2F
: %3A
[ %5B
] %5D

encodeURIComponent vs encodeURI

encodeURIComponent

Encodes everything except: A-Z a-z 0-9 - _ . ! ~ * ' ( )

Use for: query parameter values, form data

encodeURI

Preserves URL structure characters: : / ? # [ ] @ ! $ & ' ( ) * + , ; =

Use for: encoding a full URL while keeping it valid

How to Use

  1. Enter plain text on the left and click Encode to URL-encode it
  2. Enter URL-encoded text on the right and click Decode to convert back
  3. Switch between encodeURIComponent (for query params) and encodeURI (for full URLs) modes
  4. Use the reference table below to see common percent-encoded characters
  5. Click Copy buttons to copy results to your clipboard