URL & HTML Encoder
Use this free URL encoder and decoder to prepare query strings, path segments, and markup-safe text. Switch between encodeURI, encodeURIComponent, and HTML entity modes, then decode percent-encoded URLs or escaped HTML when debugging APIs and forms — everything stays in your browser.
Runs entirely in your browser. Your data never leaves this device.
- encodeURI and encodeURIComponent
- URL decode for debugging
- HTML entity encode/decode
- Safe entity decoding (no XSS)
- Client-side only — no upload
How it works
- Choose encodeURI, encodeURIComponent, or HTML entities for your URL encoding task.
- Encode or decode your string in one click — useful for query values, paths, and markup.
- Copy the result for use in APIs, forms, or HTML without leaving your browser.
Key features
- encodeURI and encodeURIComponent
- URL decode for debugging
- HTML entity encode/decode
- Safe entity decoding (no XSS)
- Client-side only — no upload
FAQ
Is this a free URL encoder and decoder?
Yes. Encode or decode URL components and HTML entities entirely in your browser — private, with no upload.
encodeURI vs encodeURIComponent?
encodeURI keeps URL structure characters; encodeURIComponent encodes more aggressively for query values and form fields.
What about HTML entities?
We escape & < > " ' for safe embedding in HTML text and attributes.
Is this the same as Base64?
No — use the Base64 Encoder tool for binary-safe encoding. This tool focuses on percent-encoding and HTML entities.
Keep building
Related developer tools
Encode and decode HTML entities online. Named and numeric entities — private browser tool.
Encode and decode Base64 for text, URLs, and images entirely client-side.
Slugify titles into URL-safe strings. Free slug generator for blogs, CMS, and SEO paths.