Plain text
paste or type · or drop a .txt file
URL-encoded
101 chars
No data sent to servers · encodeURIComponent

Component vs Full URI encoding

Both leave letters, digits, and - _ . ! ~ * ' ( ) untouched — the difference is what else they preserve.

encodeURIComponentEncodes ?, &, =, #, / too — for query values and path segments
encodeURIPreserves : / ? # [ ] @ ! $ & ' ( ) * + , ; = — for a full URL

When you need percent-encoding

Spaces, non-ASCII characters, and reserved symbols must be encoded before being placed in a URL. A space becomes %20 (or + in form-encoded contexts), é becomes %C3%A9, and & in a query value must be %26 or it will be parsed as a parameter separator.

OAuth signatures, redirect_uri parameters, and search queries all require proper encoding: a single unencoded character can break the entire request.

Reading percent-encoded sequences

Each sequence is a % followed by two hex digits representing one byte of a UTF-8 character. Multi-byte characters need multiple sequences. The Decode mode here converts any valid percent-encoded string back to its original form.

%20Space (byte 0x20)
%2FSlash (/)
%3AColon (:)
%E2%82%ACEuro sign € — 3 bytes in UTF-8