Encode and decode URLs with percent-encoding instantly. Runs in your browser — your data never leaves your machine.
Toggle between component mode (encodes everything including /, ?, &) and full URL mode (preserves URL structure characters). Component mode is the default and safest choice for encoding query parameter values.
Unsafe characters are replaced with a % sign followed by their hex byte values. Spaces become %20, ampersands become %26, and non-ASCII characters are encoded as multi-byte UTF-8 sequences.
All encoding and decoding runs locally in your browser using JavaScript. Nothing is sent to a server — safe for sensitive data.
Type or paste text in the left panel and the URL-encoded output appears instantly on the right. To decode, paste a percent-encoded string in the right panel and the original text appears on the left. Use the "Full URL mode" checkbox to switch between encoding a URL component (default) and encoding a complete URL while preserving its structure.
URL encoding is essential whenever you include user input, special characters, or non-ASCII text in a URL. Common use cases include building query strings for API requests, encoding form data for HTTP POST bodies, constructing redirect URLs with parameters, and safely embedding file paths or search terms in URLs. Without proper encoding, characters like &, =, and spaces can break URL parsing.
Encode text to Base64 or decode Base64 to text instantly in your browser. Free, private, no sign-up.
Escape or unescape JSON strings instantly. Handle special characters, quotes, and Unicode. Free.
Decode and inspect JWT tokens — see header, payload, and signature. Free, private, runs in your browser.