URL Encoder / Decoder

Encode text for safe use in URLs (percent-encoding) and decode it back. This tool runs entirely in your browser and does not send your data anywhere.

URL Encoder / Decoder

Encode and decode URL-escaped text locally in your browser.

Tip: use encodeURIComponent for query parameters or path segments, and encodeURI for whole URLs.

About URL encoding

URL encoding (percent-encoding) converts characters into a format that can be safely transported in URLs (for example, spaces become %20).

Prefer encodeURIComponent for individual query parameter values (e.g. q=...) and encodeURI when you want to keep URL separators like :, /, ?, and # intact.

Some systems use a form-encoding variant where spaces become +. Use “Form-style (+ for spaces)” when you’re working with that format.