Tech & Dev

URL Encoder/Decoder

Encode and decode URL strings

Calculator

34 characters

How to Use

Encode and decode URLs

1

Enter text or URL

Input text to encode or encoded URL to decode

2

Select operation

Choose encode or decode

3

View result

See encoded/decoded output

4

Copy result

Copy to clipboard

Frequently Asked Questions

URL encoding (percent-encoding) converts special characters to %XX format for safe use in URLs. Spaces become %20 or +. Reserved characters (!@#$) and non-ASCII are encoded. example.com/hello world becomes example.com/hello%20world.

Reserved characters: ! # $ & ' ( ) * + , / : ; = ? @ [ ]. Unsafe characters: spaces, < > { } | \ ^ ` and non-ASCII. Safe characters: A-Z, a-z, 0-9, - _ . ~ dont need encoding.

encodeURI encodes a full URL, preserving reserved characters like : / ? &. encodeURIComponent encodes everything except A-Z, a-z, 0-9, - _ . ~ and is used for query parameter values.

In application/x-www-form-urlencoded (form data), spaces are encoded as +. In regular URL encoding (RFC 3986), spaces are %20. Both are valid in different contexts. Our tool shows both options.

Tech & Dev

Developer tools for JSON, encoding, and regex

View all tools