Base64 Encoder
Encode or decode Base64 text directly in your browser. Convert strings, trim lines, toggle URL-safe mode, or batch process data with live results.
Encode Mode
Batch Input
0 Items
1 Output lines
0 Output chars
Encode or decode Base64 text directly in your browser. Convert strings, trim lines, toggle URL-safe mode, or batch process data with live results.
Batch‑crop JPEG, PNG, and WebP to precise aspect ratios with live previews. Edit by pan/zoom, then download in the original format or export everything as a ZIP — all client‑side.
Validate, format, and convert JSON directly in your browser. Pretty-print with custom indentation, minify to one line, sort object keys, or export to YAML.
The badges on top show Mode, Input type, Items, Output lines, and Output chars so you can sanity-check results at a glance.
Web Development & APIs Encode query parameters safely before building URLs, avoiding broken links or injection issues.
Form Data Debugging Inspect or correct URL-encoded form submissions and query strings directly in the browser.
Automation & Scripts Prepare encoded payloads for shell commands, curl requests, or API calls without external tools.
CMS or Spreadsheet Cleanup Decode messy or double-encoded links copied from databases or exported CSVs.
SEO & Redirect Management Check and normalize URL slugs, redirect targets, and tracking parameters for accuracy.
Testing & QA Quickly test edge cases with emoji, special characters, or non-Latin text in URLs.
Batch Transformations Convert entire lists of paths, keywords, or slugs - one per line - for import into CMS or routing systems.
& and =.%252F, you encoded %2F again. Decode once, then re-encode correctly.All logic runs directly in your browser:
Two precise modes.
Component → encodeURIComponent (for path segments, query values).
Full URL → encodeURI (for an entire URL; preserves reserved separators like :/?#[]@!$&'()*+,;=).
Batch by newline. Process many lines at once. Optional Trim lines keeps your alignments tidy.
Form quirks, handled.
Spaces as “+” converts %20 → + during encode to match application/x-www-form-urlencoded.
“+” as space converts + → space before decode (common for query strings).
Cosmetic normalization.
Lowercase %hex toggles %2F → %2f while leaving plain characters untouched.
Resilient decoding.
Tries decodeURIComponent (strict), falls back to decodeURI (lenient); surfaces a clear error if input is broken.
No uploads, no servers, no tracking - just instant URL transforms in memory.
encodeURIComponent is for parts of a URL (path segments, query values). It encodes everything except a small safe set, so reserved characters like & and = are escaped. encodeURI is for full URLs and *keeps* reserved characters used as separators (:/?#[]@!$&'()*+,;=).
Forms with application/x-www-form-urlencoded represent spaces as +. Turn this on to convert %20 → + during encoding. On decode, enable “+ as space” so + becomes a space before decoding.
Percent-encoding is case-insensitive, but some style guides prefer lowercase (e.g., %2f instead of %2F). Toggle **Lowercase %hex** to normalize.
Yes. Pick **Component** (encodeURIComponent) for path/query **values** or **Full URL** (encodeURI) for a complete URL you don’t want to over-escape.
The decoder tries decodeURIComponent first, then falls back to decodeURI. If both fail, it returns a clear “Malformed percent-encoding” error without crashing.
Yes. JavaScript’s URL encoders work with UTF-8. Emoji and non-Latin scripts are encoded safely.
No. Everything runs locally in your browser. Nothing leaves your device, and it works offline once loaded.
6 min read
JPEG, PNG, or WebP? Learn which image format to use for speed, quality, and SEO - and how to convert instantly in your browser without uploading a single file.
4 min read
Learn how to compress images for web use: resizing, format choice, compression settings, and best practices - all while preserving visual quality.
5 min read
A complete, practical guide to responsive images. From understanding `srcset` and `sizes` to generating all your image versions instantly with the Vayce Image Resizer.