Zum Inhalt springen

🖼️ Bild → Base64・Data URL Konvertierung

Konvertieren Sie Bilder per Drag & Drop zu Base64 / Data URL. Betten Sie sie direkt in CSS background-image oder HTML img-Tags ein.

100% Free No signup Browser-only 5 languages Dark mode
📂

Ziehen und ablegen oder klicken Sie, um das Bild auszuwählen

PNG / JPG / WebP / SVG / GIF / AVIF / BMP / ICO

💡 Verwendung von Data URLs

• Bei kleinen Symbolen oder Bildern von etwa 1~2 KB können Sie die Anzahl der HTTP-Anfragen reduzieren.

• Base64-Codierung erhöht die Größe um etwa 33%. Das Einbetten großer Bilder kann kontraproduktiv sein.

• Erwägen Sie, die SVG inline zu behalten, wie sie ist (kann noch kleiner werden).

🔗 Verwandte Tools

📖 Wie man es benutzt

  1. 1
    Drop or click to select an image
    Drag and drop an image onto the drop zone, or click to select a file. PNG, JPG, WebP, SVG, and most other formats are supported.
  2. 2
    Select output format
    Choose Data URL, Base64 only, CSS background-image, HTML img tag, or Markdown format.
  3. 3
    Copy and use
    Click Copy to save the encoded text to your clipboard, then paste it into your code.

❓ Häufig gestellte Fragen

Does it support pasting from clipboard?
Yes. Copy an image to your clipboard (e.g., a screenshot), then press Ctrl+V / Cmd+V anywhere on the page to load it automatically.
How does Base64 affect file size?
Base64 encoding increases the file size by approximately 33%. Embedding large images can hurt page load performance.
When is it appropriate to use a Data URL?
Data URLs work well for small icons or inline images under 1–2 KB to reduce HTTP requests. They are not suitable for large images.
🐛 Sind Sie auf ein Problem mit diesem Tool gestoßen?

Vollständig kostenlos und ohne Registrierung. Auch Reproduktionsschritte sind ausreichend. Eingegangene Berichte werden direkt an die Betreiber weitergeleitet und dienen als Referenz für Korrektionen.

※ Um Probleme zu reproduzieren, werden Browser-Informationen (UA / Bildschirmgröße / Sprache / URL) automatisch gesendet