コンテンツにスキップ
BeHumler

Developer Tool

URL Encoder/Decoder

Encode and decode URLs and URI components locally in your browser. Choose between full URI mode and component mode.

Your data is processed locally in your browser and is never uploaded.

Common Encodings Reference
CharEncodedName
%20Space
!%21Exclamation
#%23Hash
$%24Dollar
&%26Ampersand
'%27Single quote
(%28Open paren
)%29Close paren
+%2BPlus
,%2CComma
/%2FSlash
:%3AColon
=%3DEquals
?%3FQuestion
@%40At sign

Free browser-based tools for developers. No data leaves your device.

FAQ

What is the difference between encodeURI and encodeURIComponent?
encodeURI leaves reserved characters (://?#[]@!$&'()*+,;=) intact, making it suitable for full URLs. encodeURIComponent encodes everything except A-Z a-z 0-9 - _ . ~, making it suitable for query parameters.
Which reserved characters are not encoded by encodeURI?
The characters : / ? # [ ] @ ! $ & ' ( ) * + , ; = are preserved by encodeURI because they have special meaning in a URL structure.
Is my data sent to a server?
No. All encoding and decoding happens locally in your browser using built-in JavaScript functions. No data leaves your device.
What happens with malformed percent-encoded sequences?
The tool will display an error message if the input contains invalid percent-encoding sequences like %GG or incomplete sequences like %2.