Base64 Encoder
Encode any text to Base64, including Arabic and emoji, with URL-safe and line-wrapping options.
Developer & Web
Turn an image into a data URI with ready-made CSS, HTML and Markdown snippets.
Your files and text are processed on your own device, inside this page. Nothing is uploaded to Dubinity or stored, and closing the tab discards it. How privacy works
Drop an image in and get its data URI, plus the CSS background-image, HTML <img> and Markdown lines ready to paste - with an alt-text box so the snippets are accessible from the start.
Base64 makes a file about a third larger, and a data URI cannot be cached separately from the file that contains it, so the tool shows the encoded size and warns when linking to the image would be faster. For SVG it also offers the percent-encoded form, which is smaller than Base64 and renders identically.
The file is read and encoded by your own browser; nothing is uploaded.
Was this tool helpful?
Encode any text to Base64, including Arabic and emoji, with URL-safe and line-wrapping options.
Decode Base64 back to text, or view the raw bytes as a hex dump when the data is not text.
Shrink JPEG, PNG and WebP files for upload without visible quality loss, capping the largest dimension at the same time.
Format and indent JSON, or minify it, with exact error positions and big numbers kept as written.
Create strong random passwords with the character rules a site demands, and see the real entropy.
See the IP address our server sees, the rough location attached to it and what your browser sends.