Client-side tools to encode images to compressed Base64 or Base65536 strings and decode them back. All processing happens locally in the browser. No data is uploaded.
- Resize with high-quality canvas smoothing
- Posterize to 2–256 colors
- Floyd‑Steinberg dithering
- AVIF / WebP / JPEG output
- Quality and compression speed controls
- Compression presets (Low / Medium / High)
- Live preview and Base64 output
- Copy to clipboard
- Download encoded image
- Paste any Base64 or Base65536 string
- Auto‑detects format (AVIF, WebP, JPEG, PNG, GIF)
- Preview decoded image
- Download as original format
- Sample image for demonstration
- Pure static HTML, CSS, JavaScript
- Runs entirely in the browser
- Squoosh WASM for AVIF/WebP/JPEG encoding
- image-q for quantization and dithering
Open index.html or visit the live demo at:
https://OELD.github.io/ender-img2string
MIT
Sample image: Alejandro Escamilla via Unsplash