ToolCabana

Bild zu Base64

Kodiert ein Bild als Base64-Daten-URL.

Favorites are saved in this browser. Find them in My favorites.

Bild zu Base64

Your input stays in this browser unless stated otherwise
Clear your input, files and result, and restore the default settings.

Drop your images here

or choose files from your device

So verwendest du Bild zu Base64

Image to Base64 encodes an image file into a Base64 data URL that begins with data:image/ and the file type. The original bytes are encoded unchanged, so the format, quality and any embedded metadata are preserved. You can copy the string or download it as image-base64.txt for use in HTML, CSS or JSON.

  1. Wähle eine Quelldatei aus. Wenn das Tool mehrere Dateien akzeptiert, ordne sie in der gewünschten Reihenfolge an.
  2. Prüfe das Quellformat, bevor du den Vorgang ausführst.
  3. Führe Bild zu Base64 aus, prüfe die Ausgabe und verwende dann die verfügbaren Bedienelemente zum Kopieren oder Herunterladen.

Was dieses Tool unterstützt

Kodiert ein Bild als Base64-Daten-URL.

Grenzen und Verarbeitung

Bilder sind auf 32 Megapixel und 16.000 Pixel pro Seite begrenzt. Die meisten Vorgänge akzeptieren eine Quelle; unterstützte Stapelvorgänge erzeugen ein ZIP-Archiv.

Häufige Fragen

How do I use a Base64 image in HTML or CSS?

Paste the full data URL as the src of an img element or inside url() in a CSS background property. The string already includes the data:image prefix and MIME type, so no extra formatting is needed.

Does converting an image to Base64 remove EXIF data?

No. The file is encoded byte for byte, so EXIF, GPS and other embedded metadata remain inside the Base64 string. Strip the metadata first if you plan to publish the encoded image.

Why is the Base64 string bigger than my image file?

Base64 represents every 3 bytes of binary data with 4 text characters, so the encoded string is roughly a third larger than the original file. Large images therefore produce very long strings.

Wo wird meine Eingabe verarbeitet?

Dieser Vorgang verarbeitet seine Quelle in deinem Browser. Kopieren und Herunterladen sind ausdrückliche Aktionen; die Quelleingabe wird nicht in einem Konto oder Verlauf gespeichert.

Welche Eingabelimits gelten?

Bilder sind auf 32 Megapixel und 16.000 Pixel pro Seite begrenzt. Die meisten Vorgänge akzeptieren eine Quelle; unterstützte Stapelvorgänge erzeugen ein ZIP-Archiv.