URL Encoder & Decoder
Percent-encode URLs and query string parameters, or decode them back. Free, no signup.
How to use
- 1 Pick Encode or Decode mode.
- 2 Choose Component for query params, or Full URL for entire URLs.
- 3 Paste your input and copy the result.
Why use this tool
- Two variants — encodeURIComponent for individual params, encodeURI for full URLs.
- Real-time bidirectional — switch modes and swap input/output in one click.
- Runs in your browser — your URLs stay private.
- Free, no signup, no ads.
Frequently asked questions
When should I use encodeURIComponent vs encodeURI?
Use encodeURIComponent for query string values and path segments (encodes / ? & = #). Use encodeURI for an entire URL string when you want to preserve those structural characters.
Does this support special characters?
Yes — full Unicode support. Emoji, CJK, Arabic, and combining characters are all encoded correctly.
Why does my decode fail?
Invalid percent-encoding (e.g. "%XY" where XY isn't valid hex) throws a URIError. Check that every "%" is followed by exactly 2 hex digits.
Related tools
JSON Formatter
Format, validate, and minify JSON online. Free, no signup — your data never leaves your browser.
Open toolSQL Formatter
Format and beautify SQL queries online. Supports MySQL, PostgreSQL, SQLite, SQL Server, Oracle, and BigQuery.
Open toolUUID Generator
Generate UUIDs online — v1, v4, v7, and Nil. Bulk generation up to 10,000. Free, no signup.
Open toolYouTube Thumbnail Downloader
Download YouTube thumbnails in all available resolutions. Just paste a video URL.
Open toolBuild, share, and grow on Zerethon Social
Free signup. Earn points, collect achievements, and connect with creators worldwide.