BA Convert
Developer Tool

URL Encoder / Decoder

Encode and decode URLs free online. Instant results. No signup.

encodeURIComponent — Encodes everything including : / ? # [ ] @ ! $ & ' ( ) * + , ; =. Use for query parameters and form values.

Try:

Common URL Encodings

Space%20
!%21
"%22
#%23
$%24
%%25
&%26
'%27
(%28
)%29
+%2B
,%2C
/%2F
:%3A
;%3B
=%3D
?%3F
@%40
[%5B
]%5D

Click any row to encode that character

When to Use URL Encoding

🔍

Query Parameters

Always encode values in query strings. e.g. ?name=John%20Doe&city=New%20York

📋

Form Submissions

HTML forms auto-encode on submit. When building URLs manually, encode all parameter values.

API Requests

Encode all special characters in API endpoint parameters to prevent errors.

📁

File Names in URLs

File names with spaces or special characters must be encoded when used in URLs.

Instant
Real-time encoding
Swap
Encode ↔ Decode
🔒
Private
No server uploads
🆓
Free
No signup needed