🍋 Image Tools

Image to Base64

Encode images as Base64 text for embedding in code.

Free Yalnizca tarayici No sign-up
🍋
Damla
🫸
Squeeze
🍹
Fresh!

⚙️ Squeeze Settings

🍋

Freshly Squeezed!

Nothing was produced

Browse tools

Image to Base64 Hakkinda

Convert images to Base64-encoded text strings directly in your browser. Useful for embedding small images in HTML, CSS, JSON, or API payloads without separate file hosting.

Nasil Calisir

The file is read using the FileReader API's readAsDataURL method, which produces a Base64-encoded data URI. Optionally, the data URI prefix can be stripped to get raw Base64, and lines can be wrapped at 76 characters for MIME compatibility.

Adim Adim

  1. 1 ['Upload an image (JPEG, PNG, WebP, GIF, SVG, or BMP)', 'Choose whether to include the data URI prefix', 'Optionally enable line wrapping for MIME format', 'Click Convert to generate the Base64 text', 'Download the text file or copy the output']

Ipuclari

  • [
  • '
  • I
  • n
  • c
  • l
  • u
  • d
  • e
  • t
  • h
  • e
  • d
  • a
  • t
  • a
  • U
  • R
  • I
  • p
  • r
  • e
  • f
  • i
  • x
  • f
  • o
  • r
  • d
  • i
  • r
  • e
  • c
  • t
  • u
  • s
  • e
  • i
  • n
  • H
  • T
  • M
  • L
  • i
  • m
  • g
  • s
  • r
  • c
  • o
  • r
  • C
  • S
  • S
  • u
  • r
  • l
  • (
  • )
  • .
  • '
  • ,
  • '
  • S
  • t
  • r
  • i
  • p
  • t
  • h
  • e
  • p
  • r
  • e
  • f
  • i
  • x
  • w
  • h
  • e
  • n
  • u
  • s
  • i
  • n
  • g
  • B
  • a
  • s
  • e
  • 6
  • 4
  • i
  • n
  • A
  • P
  • I
  • p
  • a
  • y
  • l
  • o
  • a
  • d
  • s
  • o
  • r
  • J
  • S
  • O
  • N
  • f
  • i
  • e
  • l
  • d
  • s
  • .
  • '
  • ,
  • '
  • K
  • e
  • e
  • p
  • i
  • m
  • a
  • g
  • e
  • s
  • s
  • m
  • a
  • l
  • l
  • (
  • <
  • 5
  • 0
  • K
  • B
  • )
  • f
  • o
  • r
  • i
  • n
  • l
  • i
  • n
  • e
  • e
  • m
  • b
  • e
  • d
  • d
  • i
  • n
  • g
  • —
  • l
  • a
  • r
  • g
  • e
  • r
  • i
  • m
  • a
  • g
  • e
  • s
  • i
  • n
  • c
  • r
  • e
  • a
  • s
  • e
  • p
  • a
  • g
  • e
  • s
  • i
  • z
  • e
  • .
  • '
  • ]

Sikca Sorulan Sorular