Developer Utilities · Free tool
URL Encoder & Decoder
Encode URLs for safe links and query strings, or decode them back to readable text. This free, no-download tool handles all percent-encoding tasks in your browser.
Advertisement
What it does
A free URL encoder and decoder. Handles query strings, special characters, and Unicode safely. Everything happens in your browser.
URL encoding is required whenever you put special characters in a URL — query parameters, redirect paths, API endpoints. Errors here cause cryptic bugs; this tool saves the debugging time.
Embed this tool on your siteShow snippetHide
Paste this snippet into any page. Loads on-demand (lazy), no tracking scripts, and sized to most dashboards. Replace the height to fit your layout.
<iframe src="https://freetoolarena.com/embed/url-encoder-decoder" width="100%" height="720" frameborder="0" loading="lazy" title="URL Encoder & Decoder" style="border:1px solid #e2e8f0;border-radius:12px;max-width:720px;"></iframe>How to use it
- Paste a URL or text in the input.
- Click Encode to escape special characters.
- Click Decode to un-escape percent-encoded text.
- Copy the result with one click.
Frequently asked questions
- When do I need URL encoding?
- Any time a URL contains reserved characters (space, #, ?, &, /, :, +, =) that aren't being used in their special role. Form submissions, query strings, and API paths are the common cases — a user input with a space becomes %20 when sent as a query parameter.
- What's the difference between encoding a query string and a path component?
- Path components shouldn't encode the forward slash; query string components must encode &, =, +, and space as %2B or +. JavaScript's encodeURIComponent is the stricter version and usually what you want for query params.
- Can I safely paste an API token or secret here?
- Yes — the encoder runs entirely in your browser. Nothing is sent to a server, so you can encode bearer tokens, database connection strings, or webhook URLs without exposing them.
Advertisement
Learn more
Guides about this topic
- Developers & Technical · GuideHow to URL encode correctlyReserved vs unreserved characters, encodeURI vs encodeURIComponent, URLSearchParams, path vs query encoding, double-encoding traps, UTF-8 handling.
- Developers & Technical · GuideHow to migrate CSS to TailwindMigrate CSS to Tailwind using big-bang or component-by-component strategies. A free instant guide to config tokens, pseudo-classes, and patterns, no sign-up needed.
- Using Our Tools · GuideHow to generate QR codesMake QR codes for URLs, WiFi, vCard, or text. Learn error correction and sizing, then generate your QR code online free with no sign-up in seconds.
- Using Our Tools · GuideHow to create a strong passwordGenerate a strong password instantly online for free. Build high-entropy passphrases following NIST 2026 rules with no download needed.
- Developers & Technical · GuideHow to encode and decode Base64Understand the 3-to-4 mechanic and 33% overhead for standard, URL-safe, and MIME Base64. Free online reference to avoid common mistakes, no download needed.
- Design & Media · GuideHow to choose a color paletteBuild accessible color palettes using HSL theory, monochromatic to triadic schemes, WCAG contrast checks, and dark mode tips. Free, no-download guide.
Explore more developer utilities tools
- Port Number LookupSearch over 140 well-known TCP and UDP ports by number or service name. Free online reference tool with no sign-up, covering web, mail, DNS, and more.
- Test Credit Card NumbersReference table of canonical test card numbers from Stripe, Adyen, and Braintree sandbox docs. Plus Luhn validator + network detector.
- IPv6 Expander & ShortenerFormat IPv6 addresses to canonical form, handling zone IDs and prefixes, instantly online—free tool with no registration required.
- Htpasswd GeneratorCreate .htpasswd lines for Apache or nginx basic auth with browser-only SHA hashing instantly. Includes config snippets and a free online tool with no registration.
- Chmod CalculatorCalculate Unix file permissions: octal (755, 644) ↔ symbolic (rwxr-xr-x) ↔ rwx checkboxes. Covers setuid, setgid, sticky bit. With presets.
- Excel Formula ExplainerPaste any formula and get a plain-English breakdown of 60+ functions online free—no sign-up required, in your browser.