ToolBuddy
In Browser

URL Encoder

Percent-encode and decode URLs and query parameters with encodeURIComponent-style rules. Fix broken links, escape reserved characters, and inspect encoded query strings locally. A small, private alternative to sending URLs through an online encoder.

Runs in your browser. Nothing is uploaded.

Loading tool…

About this tool

Percent-encode with encodeURIComponent (query values, path segments) or encodeURI (full URL mode that keeps : / ? #). Decode accepts + as space so form-encoded query strings round-trip the way browsers build them.

How to use: paste a value or a full URL, pick component vs full-URL mode, copy. Decode the other direction when a log line is unreadable. Reserved characters in names and emails become % sequences you can drop into a config file.

Example: a space becomes %20 in component mode. A complete https URL in encodeURI mode keeps the scheme slashes. Tracking tokens and internal hosts never hit a remote encoder.

All encoding is a browser built-in. Related: URL parser to split a link into parts, Base64 for binary-safe blobs. Component mode is the safe default for query values; full-URL mode is for an already-valid address you only need to escape lightly. After load, encoding works offline.

Related Web tools