PDFのミカタ

画像をデータURLにしてHTMLに埋め込む

公開日:2026年10月19日|最終更新:2026年10月19日|運営者情報

この記事のポイント
  • 選ぶ
  • 印をつける
  • 貼る

小さな画像に向いています。大きな画像だと、ページが重くなります。

手順

  1. ファイルとBase64を相互変換する で、画像のファイルを選びます。
  2. 「データURLの形式にする」にチェックを入れます。
  3. できた文字を、HTMLの画像のsrcに貼り付けます。
ファイルとBase64を相互変換するを使う(無料)

あわせて使えるツール

この解説が役に立ったら、応援してもらえるとうれしいです。

応援する(300円)ほしい物リストで応援

同じツールの、ほかの解説

解説の一覧を見る

Embedding an Image in HTML as a Data URL

Published: Oct 19, 2026 | Updated: Oct 19, 2026 | About (Japanese)

Key points
  • Choose
  • Tick
  • Paste

Best for small images. Large ones make the page heavy.

Steps

  1. Select an image in Convert Files and Base64.
  2. Tick "Make a data URL".
  3. Paste the result into the src of an image in HTML.
Use "Convert Files and Base64" (free)

Tools that go well with this

If this guide helped, a small tip would mean a lot.

Send a tip (¥300)Send a gift (Amazon wishlist)

More guides for this tool

See all guides