URL Encoder / Decoder
Safely percent-encode or decode URL query parameters and full URLs with full support for UTF-8 characters.
What is URL encoding?
URL (percent) encoding replaces unsafe characters in a URL with %XX sequences. It is required for non-ASCII characters, spaces or delimiters like "?" and "&". "Component mode" encodes a single query value rather than a whole URL.
Embed "URL Encoder / Decoder" on Your Website
Copy and paste the snippet below into WordPress, Webflow, Ghost, or any HTML page to offer this interactive calculator to your visitors.
Live Embed Preview (How it looks on an external website):
URL Encoder / Decoder — How to Use
-
01
Choose "Encode" or "Decode" and toggle component mode if needed.
-
02
Paste your URL or query string.
-
03
Copy the encoded or decoded output.
Frequently Asked Questions
What is the difference between encodeURI and encodeURIComponent?
`encodeURI` preserves URL separators, while `encodeURIComponent` encodes them for query values.
Why do non-ASCII characters look like %C4%B0 in URLs?
Percent-encoding converts UTF-8 bytes into safe ASCII `%XX` sequences.
When should I enable "Component mode"?
Turn it on when encoding a single query parameter value.
Recommended tools for your next task
JSON Formatter & Validator
Format, validate and minify JSON instantly in your browser
Text & Code Diff Checker
Compare two texts or code blocks side-by-side to highlight added and removed lines
JSON ↔ CSV Converter
Convert JSON arrays to Excel-ready CSV or turn CSV tables into JSON
Regex Tester & Debugger
Test Regular Expressions live with match highlighting, capture groups & common presets
HTML, CSS & JS Minifier
Minify HTML, CSS and JavaScript code to reduce file size and boost page speed
Markdown Live Editor & HTML Converter
Write Markdown with real-time preview and convert it to clean HTML markup
Related Guides & Articles
5 min read
The Complete Guide to Free Browser-First Developer, Media & SEO Tools
Discover how browser-side utilities for JSON formatting, image compression, YouTube downloading, and SEO meta tag generation speed up your daily workflow without sacrificing privacy.
1 min read
Why Digital Privacy Matters More Than Ever
1 min read