Base64 Converter Base64 · omikuji tools
Local only Runs in your browser

✨ Features

  • Converts text, images, PDFs, and binary files to and from Base64 with auto-detection
  • Inline previews for images and PDFs; auto-generates img, CSS, and Markdown snippets
  • Drag & drop or paste with Ctrl+V anywhere on the screen
  • Fully local processing, nothing sent to any server

🪄 Perfect for

API development & testing

Encode and decode Basic Auth headers, JWT tokens, and Base64 API payloads instantly.

Embedding images in CSS/HTML

Convert images to Base64 data URIs for CSS backgrounds or HTML src attributes with ready-to-copy snippets.

Inspecting binary files

Turn binary files into Base64 to inspect their content or transfer them over text-only channels.

Markdown & config files

Encode any content to safely embed it in emails, Markdown documents, or configuration files.

🔒 Privacy

This tool runs entirely in your browser. The text and files you input are never sent to any external server.

❓ FAQ

What is Base64?

Base64 is an encoding scheme that converts binary data into an ASCII string. It is widely used to safely transfer binary data over text-only channels such as email, URLs, and HTML.

Can I convert image files?

Yes. PNG, JPEG, GIF, WebP, SVG, and other image files can be converted to Base64 with inline previews and auto-generated img, CSS, and Markdown snippets.

Is my data sent anywhere?

No. All processing happens in your browser, and the text and files you input are never sent to any server.

Can I convert large files?

You can convert files as large as your browser memory allows. Very large files may affect browser performance.

Direction
Waiting for input IDLE
Input Input
0 B
file
Type text or drop a file
Auto-detects whether to encode or decode. Drop anywhere on screen or press Ctrl+V to paste.
PNGJPEGWebPSVGGIFPDFJSONTXT
Output Output
0 chars
Result appears here
Type in the left panel — encoding shows a Base64 string, decoding shows a preview of the original data.
tools.omikuji.dev Fully local · files are never sent to a server
CtrlV Paste AltS Swap Ctrl Copy
Drop here to load
Any file — images, PDFs, text — will be converted to Base64
Terms of Service · Privacy Policy