Tools / URL Encoder and Decoder
URL Encoder and Decoder
Percent-encode strings for safe URLs or decode encoded values back to plain text. Switch between component and full URL modes.
Frequently asked questions
What is the difference between encodeURI and encodeURIComponent?
encodeURI is for full URLs and keeps characters like / and ? intact. encodeURIComponent encodes every reserved character and is meant for query values.
When should I URL-encode text?
Encode user input before placing it in query strings, form fields, or API requests so spaces and special characters do not break the URL.
Why did decoding fail?
The input may contain invalid percent sequences (like a lone %). Fix or remove malformed escapes and try again.
Let's build something you're proud of
I help businesses launch, optimize and maintain their online presence, from code to SEO.
Let's talkRelated tools
CSV ↔ JSON Converter
Free online CSV to JSON and JSON to CSV converter. Parse quoted fields, choose comma, semicolon or tab delimiters and convert locally in your browser.
Image to Base64 Converter
Free online image to Base64 and Base64 to image converter. Convert PNG, JPEG, WebP, or GIF in your browser with no upload.
Base64 Encoder and Decoder
Encode and decode Base64 strings online. Free Base64 converter that supports Unicode text, API tokens and data URLs.
Image Resizer and Compressor
Free online image resizer and compressor. Resize photos, convert to WebP or JPEG and shrink file size in your browser, with no upload.
robots.txt Generator
Free robots.txt generator. Build user-agent groups with allow and disallow rules, add a sitemap, block AI crawlers and copy the file.
Cron Expression Explainer
Free cron expression explainer. Translate a five-field crontab line into plain English and preview the next scheduled runs in your browser.