Skip to main content
MultiTool
AllGuidesFinanceHealthMathConvertersDate & TimeTextDeveloperGeneratorsImagesPDFAI ToolsGames
MultiTool

Free, fast and reliable online tools for everyday tasks.

CATEGORIES

  • Finance
  • Health & Fitness
  • Math & Education
  • Converters
  • Date & Time

MORE TOOLS

  • Text Tools
  • Developer Tools
  • Generators & Fun
  • Image Tools
  • PDF Tools
  • AI Tools
  • Games

COMPANY

  • How we build
  • Guides
  • About
  • Contact
  • Privacy Policy
  • Terms of Service
  • Cookie Policy
  • Disclaimer

© 2026 MultiTool. All rights reserved.

Made with care for a faster, simpler web.

HOME/DEVELOPER-TOOLS_NAME/TOOL

H1_URL Encoder / Decoder - Percent-Encoding | MultiTool

Percent-encode and decode URLs: encode whole URLs or just query parameters, with automatic handling of special characters.

How it works

Paste a URL or a query string and encode or decode it. Component mode percent-encodes every special character (ideal for query values); Full URL mode preserves URL structure while encoding the rest.

Why URLs need encoding at all

URLs may only contain a small safe alphabet (letters, digits and a few symbols like - _ . ~). Everything else — spaces, accents, &,?, # — must be written as %XX, its byte value in hexadecimal. That is percent-encoding, and it exists so a URL can travel through any system on earth without breaking.

  • Why & and ? are special: they structure query strings (?a=1&b=2). Encoding a value's & as %26 keeps data from being parsed as structure.
  • Two flavors: encodeURIComponent (encodes everything — for values) vs encodeURI (keeps ://?&= — for full URLs). Choosing wrong is the #1 cause of broken links.
  • Spaces: become %20 in paths; the + you sometimes see is a form-encoding legacy in queries.
  • Accents and emoji: “café” and “🎉” become multi-byte sequences (%C3%A9…, %F0%9F%8E%89) — the UTF-8 bytes, one %XX per byte.

Your privacy

Everything runs entirely in your browser. Nothing you type is ever sent to any server or stored.

Frequently Asked Questions

What is URL encoding?+

Percent-encoding: special characters are replaced by %XX codes so URLs remain valid — spaces become %20, café becomes caf%C3%A9.

What is the difference between the two modes?+

Component mode encodes everything including & and = (use for query values); Full URL mode keeps the URL structure readable (use for whole URLs).

When do I need to encode?+

Whenever you build URLs with user input: search queries, redirects, mailto links or API calls.

Why does decode fail sometimes?+

Malformed percent sequences like %ZZ are invalid — the tool warns you instead of guessing.

Does it handle UTF-8?+

Yes — accented characters and emoji encode correctly.

Is it free?+

Yes, completely free with no account.

Related Tools

BASE64 ENCODER / DECODERJSON FORMATTERUUID GENERATORHASH GENERATOR