Image to Base64
Turn a still image into Base64 text. Copy a data URL for embedding or choose raw Base64 for a payload.
Encode an image
- Choose or drop a supported image file.
- Check the preview and choose Data URL or Raw Base64.
- Copy or download the complete text.
What the output contains
Raw Base64 is the encoded file without a prefix.
A data URL adds the detected media type and Base64 marker.
The text represents the original file, including its metadata.
Choose an output
Use a data URL where an HTML image source accepts one.
Use raw Base64 when an API field expects only the encoded payload.
Image and size limits
Choose a still PNG, JPEG or WebP file up to 8 MiB.
Base64 is larger than the image file. Review the encoded size before embedding.
Local image encoding
Your image and encoded text stay on your device. Reloading clears the workspace.
Image encoding questions
Sources
Related tools
SVG to PNG
Convert a local SVG file or pasted markup into PNG, with explicit dimensions, transparency and bundled fonts.
Open tool — SVG to PNGImage Watermark
Add a text or logo watermark to a batch of images, review each result and download individual files or a ZIP.
Open tool — Image WatermarkImage Redactor
Cover private details in a photo or screenshot and save a PNG on your device.
Open tool — Image RedactorPhoto Metadata Remover
Make a separate PNG copy of a JPEG or PNG photo without its original embedded metadata.
Open tool — Photo Metadata RemoverGIF Maker
Turn still images into a GIF slideshow with frame timing and loop controls.
Open tool — GIF MakerImage Palette Extractor
Find representative colors in a local image and copy the palette as HEX.
Open tool — Image Palette ExtractorAdd Border to Image
Add solid or transparent pixel margins around a photo and download it as a PNG.
Open tool — Add Border to ImageRound Image Corners
Round one or more corners of a photo and save a PNG with transparent corners.
Open tool — Round Image CornersImage Brightness and Contrast
Adjust a photo or screenshot’s brightness and contrast and save a full-size PNG.
Open tool — Image Brightness and ContrastPNG to SVG
Trace PNG artwork into editable SVG paths and control which areas stay transparent.
Open tool — PNG to SVGImage Splitter
Split a photo into rows, columns or a grid and download the PNG tiles as a ZIP.
Open tool — Image SplitterImage Color Picker
Pick a local image pixel and copy its color and transparency.
Open tool — Image Color PickerImage Comparison
Compare two photos or screenshots and see exact pixel changes when their oriented dimensions match.
Open tool — Image ComparisonImage to Text (OCR)
Recognize printed text in local PNG or JPEG images, choose a language and review or correct the result before copying or downloading.
Open tool — Image to Text (OCR)Image to Word
Read printed text from JPG and PNG images, review it, and save one editable Word document.
Open tool — Image to WordAspect Ratio Calculator
Find a width-to-height ratio or calculate a matching pixel size from one target dimension.
Open tool — Aspect Ratio CalculatorImage Compressor
Try to fit a JPEG, PNG or WebP within a target file size, with measured results and optional smaller dimensions.
Open tool — Image CompressorPhoto Contact Sheet
Arrange photos in a numbered grid and save a PDF for review or printing.
Open tool — Photo Contact SheetPassport Photo Maker
Crop a portrait and save a single photo or a print sheet.
Open tool — Passport Photo MakerSVG to JPG
Turn supported SVG graphics into JPG with your chosen size and background.
Open tool — SVG to JPGHEIC to JPG
Convert supported HEIC photos locally into full-size JPG copies, with quality and background controls and verified individual or ZIP downloads.
Open tool — HEIC to JPGAVIF to JPG
Convert AVIF still images to JPG with your choice of quality and background.
Open tool — AVIF to JPG