Bir görseli HTML, CSS veya JSON'a gömmek için Base64 data URI'sine dönüştürün, tamamen tarayıcınızda.
Görsel Base64 nasıl kullanılır
Cihazınızdan bir görsel seçin.
Data URI'yi veya hazır CSS parçacığını kopyalayın.
HTML, CSS veya JSON'ınıza yapıştırın.
This image to Base64 converter turns a picture into a data URI, a long text string that embeds the image directly, plus a ready-to-use CSS background snippet. You can inline an image instead of linking to a separate file.
It runs locally in your browser, so your image is read on your device and never uploaded.
A data URI carries the whole image inside the markup, so the browser does not make a separate network request to fetch it. For small assets like icons, that saved round trip can make a page feel faster.
The catch is size and caching. Base64 adds roughly 33 percent overhead because it represents binary data with a limited text alphabet, and an inlined image cannot be cached separately, so it is downloaded again with every page that contains it.
The rule of thumb is to inline small images, icons, tiny logos or a sprite, where avoiding a request is worth the overhead, and to keep larger images as normal files that the browser can cache and load in parallel.
Data URIs work anywhere a URL is accepted: an img src, a CSS background, or a field in JSON or an email template. That makes them handy for self-contained snippets.
Sıkça sorulan sorular
Hayır. Görsel tamamen tarayıcınızda okunur, bu nedenle asla cihazınızdan ayrılmaz.
Simgeler gibi küçük görsellerde, ekstra ağ isteğinden kaçınmanın boyut artışına değdiği durumlarda. Büyük görseller için normal dosya daha iyidir.
Base64 kodlama yaklaşık yüzde 33 fazladan yük ekler, çünkü ikili veriyi sınırlı bir metin alfabesiyle temsil eder.
Bu aracı göm
Bu aracı kendi web sitenize ekleyin. Aşağıdaki kod parçacığını kopyalayın; otomatik olarak güncel kalır.
<iframe src="https://monu.tools/embed/tr/image-to-base64" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>İlgili araçlar
Metni Base64'e kodlayın veya Base64'ü tekrar metne çözün. Otomatik yön algılamayla UTF-8 güvenli.
URL'leri ve URL bileşenlerini yüzde kodlayın ve çözün, UTF-8 güvenli.
Bir JSON Web Token'ı çözerek başlığını ve yükünü, insan tarafından okunabilir son kullanma ve verme zamanlarıyla inceleyin. Tamamen tarayıcınızda çalışır; jeton asla yüklenmez.
Herhangi bir metnin SHA-1, SHA-256, SHA-384 ve SHA-512 hash'lerini doğrudan tarayıcınızda oluşturun.