// tool
image ↔ data url
Drop an image, get a copy-ready base64 data URL — with HTML, CSS and Markdown snippets. Paste one back to preview and download it. Everything runs in your browser; nothing leaves your device.
Drop an image here
or click to browse · or paste with CtrlV
png · jpg · webp · gif · svg · bmp · ico100% client-side
Your images are encoded and decoded right here in the tab. No uploads, no servers, no logs.
Convert formats
Re-encode to PNG, JPEG or WebP with a quality slider — or keep the original bytes untouched.
Ready-made snippets
One click copies the raw data URL, an <img> tag, a CSS background, or Markdown.