Encode or decode URL / percent-encoded text instantly in your browser β no upload, no signup.
Encode mode
When to use each mode
A-Z a-z 0-9 - _ . ! ~ * ' ( ). Use for query parameters, form values, path segments.: / ? # [ ] @ ! $ & ' ( ) * + , ; =). Use when encoding a complete URL.Everything runs in your browser with native JS functions. No text is ever uploaded.
This tool uses the native browser functions encodeURIComponent, encodeURI, decodeURIComponent and decodeURI β the same functions used by every modern JavaScript runtime. No library, no server, no upload. Your text is processed entirely inside your browser tab.
encodeURIComponent encodes nearly every character except A-Z a-z 0-9 - _ . ! ~ * ' ( ). It is the correct choice for encoding individual query string values, form field values, or path segments that will be embedded inside a URL. For example, hello world becomes hello%20world.
encodeURI preserves URL structural characters like : / ? # [ ] @ $ & + , ; = because they carry syntactic meaning. Use it when you have a complete URL and only want to fix unsafe characters without altering the structure.