TooloraOnline Tools

Image to Base64

Encode any image file into a Base64 data URL for embedding.

ImageRuns in your browserimage to base64encode image base64ảnh sang base64

Base64 can be very long. We show a short preview here — Copy still copies the full string.

How to use

  1. 1

    Select an image

  2. 2

    Copy the Base64 data URL

  3. 3

    Paste into HTML or CSS

FAQ

Can I embed this in CSS?

Yes. Use the data URL as a background-image value.

Does encoding increase size?

Base64 is roughly 33% larger than the binary file.

Related tools