本文へスキップ

画像 Base64 変換ツール(オンライン)

ドラッグ&ドロップ、ファイル選択、またはクリップボードからの直接貼り付け(Ctrl+V)で、Data URIやHTMLタグを生成します。

画像 Base64 変換ツール(オンライン)Clipboard paste supported

Drag & drop an image here, click to browse, or paste a screenshot with Ctrl+V / Cmd+V

Output Format

Core Advantages

1

Direct Clipboard Paste

Take a screenshot and paste it directly with Ctrl+V / Cmd+V without saving a file first.

2

4 Common Output Snippets

One click to generate Data URI, HTML img tag, CSS rule, or raw Base64 string.

3

Size Inflation Analysis

Compares binary file size with encoded size to help you optimize network payload.

4

Safe & Private

Uses native browser FileReader APIs locally with zero server upload.

How to Convert an Image to Base64?

1

Upload or Paste

Drop an image, pick a file from disk, or press Ctrl+V to paste your clipboard image.

2

Choose Format

Select Data URI, HTML img tag, CSS background, or raw Base64.

3

Copy Code

Click 'Copy Code' or download as a text file for immediate use in your codebase.

Frequently Asked Questions

Frequently Asked Questions