Base64 デコード・エンコード オンライン

左にテキストを入力または貼り付けるとエンコード、右に Base64 を貼り付けるとデコードできます。変換はブラウザ内で即座に行われ、何もアップロードされません。

  • ローカルで動作、アップロードなし
  • 登録不要
  • UTF-8 と 35 以上の文字コード
  • Base64 の全 8 規格

Base64 にエンコード

エンコーダー一覧

Base64 からデコード

デコーダー一覧

開発者ツール

Base64 検証ツール文字列が有効な Base64 かどうかをオンラインで確認。Base64 修復壊れた Base64 をオンラインで修復:データ URI の接頭辞、空白、引用符、エスケープを除去し、URL セーフ文字、パーセントエンコード、パディングを修正します。Base64 正規化Base64 を標準形式に正規化し、規格間で変換します:標準、MIME、PEM、Base64URL、IMAP、XML トークン/識別子、OpenPGP アーマー。Base64 規格判定値のエンコードに使われた Base64 規格を判別します:標準、MIME、PEM、Base64URL、IMAP、XML トークン/識別子、OpenPGP ASCII アーマー。文字コード判別Detect the character encoding of Base64 text: UTF-8, Windows-1252, ISO-8859-1/2/15, Cyrillic, Shift_JIS, GBK and more.CSS データ URI 変換スタイルシート内のすべての url(...) の画像とフォントを Base64 データ URI に変換。データ URL を画像に変換データ URL(data:image/png;base64,...)をオンラインで画像に変換。Gzip 圧縮テストURL が gzip、deflate、Brotli、Zstandard で圧縮配信されているかをオンラインで確認し、圧縮後と元のサイズ、削減率を表示します。HTTP リクエスト オンライン任意のメソッド、カスタムヘッダー、ボディで HTTP リクエストをオンライン送信。uuencode ファイルデコーダーuuencode されたファイルをオンラインでデコード。JWT デコーダーJWT トークンをオンラインでデコード:ヘッダー、ペイロード、署名を表示し、有効期限と発行日時を読みやすい日付で表示します。Base64 Size CalculatorCalculate Base64 size online: convert bytes to Base64 characters (and back), including MIME/PEM wrapping overhead.

All developer tools

この Base64 変換ツールが選ばれる理由

  • プライバシーを重視した設計。テキストやファイルは JavaScript によりブラウザ内で処理されます。大容量のファイルや機密ファイルも端末の外に送信されることはありません。
  • 実際の Base64 データをそのまま処理。データ URI、改行、URL セーフ文字、パディングの欠落は自動的に受け付け、エラーは該当する文字の位置を正確に示します。
  • あらゆる規格に対応。標準 RFC 4648、Base64URL、MIME、PEM、IMAP、XML、OpenPGP アーマー。
  • あらゆる文字コードに対応。UTF-8、UTF-16、Windows-125x、ISO-8859-x、Shift_JIS、GBK、Big5、EUC-KR、KOI8 など。
  • そのまま貼り付けられる出力。単なる文字列ではなく、データ URI、CSS ルール、HTML タグ、JSON や XML のスニペットとして取得できます。

Base64 decode and encode for developers

Developers use Base64 every day: embedding images in CSS and HTML, shipping binary in JSON APIs, reading JWTs, attaching files in MIME e-mail, and storing keys in PEM certificates. This free online Base64 decoder and encoder is built for that workflow—fast, accurate across standards, and private by default.

  • Decode Base64 to text or file with automatic standard and charset detection, plus image/PDF/audio/video preview.
  • Encode text, files or URLs to Base64 with UTF-8 and 35+ character sets, MIME line wrapping and Base64URL.
  • Validate, repair and normalize messy Base64 from logs, e-mail and copy-paste with dedicated developer tools.
  • Language guides for JavaScript, Python, Java, Go, PHP, C#, Node.js and Bash so you can match what your code produces.

Developer & IT toolkit (daily corporate searches)

Engineers live in browser tabs: regex on logs, cron next-runs, config diffs, CIDR math, YAML↔JSON for Kubernetes. All of these run locally here—safe when policy forbids pasting secrets into random SaaS.

  • Regex tester — live highlight + presets (email, IP, UUID).
  • Cron explainer — plain English + next fire times.
  • Diff checker — compare configs / API responses privately.
  • CIDR subnet calculator — VPC and firewall planning.
  • YAML ↔ JSON — K8s, GitHub Actions, Ansible.

Regex tester · Cron explainer · Diff checker · Subnet calculator · YAML ↔ JSON · Dev/IT guide

Christmas 2026: Secret Santa & countdown (high season)

From November through Christmas Eve, millions search for Secret Santa generators and “days until Christmas.” Draw Amigo Secreto privately with Base64URL links—no email signup—and keep a live countdown on your device.

  • Secret Santa / Amigo Secreto — fair draw, couple exclusions, pass-the-phone or private WhatsApp links.
  • Christmas countdown — how many days until Dec 25 in your timezone.

Secret Santa generator · Christmas countdown · Christmas traffic guide

Save bandwidth: compress before Base64

Where mobile data is expensive—Brazil, LATAM and other prepaid markets—uploading a huge photo just to shrink it wastes the plan. Compress locally first, then encode or share once.

  • Compress images to WebP/JPEG in your browser, see % saved, then download or copy Base64—no upload.
  • Gzip text or JSON before Base64 for APIs; decompress payloads you receive.
  • Private by design — Canvas and CompressionStream run on your device.

Compress image · Gzip compress · Compress before Base64 · Save mobile data guide

Private media tools (not social downloaders)

We will not scrape Instagram, LinkedIn, Pinterest or Kuaishou. We do help you prepare files you already own: convert HEIC/WebP, merge PDFs, cut out backdrops, build favicons—entirely in the browser.

  • HEIC / WebP / SVG converter — iPhone photos and WebP downloads without uploading to Adobe/Canva-style sites.
  • Merge PDF — combine contracts or turn images into a PDF locally (no Smallpdf upload).
  • Remove background from product shots and logos (solid/near-solid backdrops).
  • Favicon generator — PNG sizes, HTML tags and webmanifest, plus Base64 copy.

Image converter · Merge PDF · Remove background · Favicon generator · HEIC & WebP guide

Built from real Reddit gaps (not Base64-only)

Users on Reddit keep asking for tools that never upload files: strip GPS EXIF, hash checksums, JSON formatters without ads, QR codes without tracking short links. We ship those here—private, free, and ranked for EU and US search.

  • Strip EXIF before posting photos.
  • Hash, JSON, UUID, timestamp, password, QR — everyday utilities that stay on-device.

Strip EXIF · Hash generator · JSON formatter · QR generator · Reddit gap write-up

Base64 reader: paste and see

Need a live Base64 viewer? Paste a string or data URI and read the result immediately—text, image, PDF or hex—or get Base64 output as you type plain text. No Decode click required.

Base64 reader · Why live readers win

Built for the AI era

ChatGPT and Claude often invent Base64 that looks right but is wrong. AI agents double-encode payloads and burn context on huge Base64 blobs. This site’s principle: never trust a model to be the encoder—verify with a real tool in your browser.

  • Verify Base64 from LLM output with round-trip checks before you ship a header or JWT.
  • Unwrap nested Base64 when an agent or gateway encoded twice.
  • URL encode/decode beside Base64URL for safe query strings.
  • Principles for agents and MCP: deterministic tools, privacy, right dialect, watch token cost.

Verify Base64 · Unwrap nested Base64 · AI agent guide · Why ChatGPT fails at Base64

Advanced options

  • Character set. Base64 encodes bytes. Choose UTF-8 (default) or a legacy charset before encoding, or auto-detect when decoding text.
  • Live mode. Enable “Convert as I type” to encode or decode instantly in the browser with no round-trip to a server.
  • URL-safe Base64 (Base64URL). Use the Base64URL encoder/decoder for JWTs, tokens and filenames without escaping "+" or "/".
  • MIME and PEM wrapping. Split lines at 76 or 64 characters when a mail client, certificate or OpenPGP tool expects wrapped output.
  • Per-line encoding. On the text encoder, encode each line separately when you have multiple independent values.

Safe, free and private

All conversions run over HTTPS. Text and local files are converted in your browser with JavaScript—they are not uploaded or stored. The site is free to use with no account and no software to install. Optional remote URL fetching and a few network tools use our API; those responses are not kept for inspection.

30 秒でわかる Base64 の仕組み

Base64 は一度に 3 バイト(24 ビット)を取り出し、6 ビットずつ 4 つのグループに分け、各グループを 64 文字のいずれかに対応させます。たとえば単語 Man(バイト 77 97 110)は TWFu になります。ステップごとのアルゴリズムを読むか、まずはBase64 とは?からお読みください。

Common uses include MIME e-mail attachments, data URIs in HTML and CSS, binary fields in JSON or XML, HTTP Basic authentication, and PEM-encoded certificates. When you need the reverse path, use Base64 decode online; to produce Base64 from scratch, use Base64 encode online.

よくある質問

Base64 とは?

Base64 は、バイナリデータ(画像、ファイル、任意のバイト列)を 64 種類の印字可能文字(A–Z、a–z、0–9、"+"、"/")だけで表す方式です。JSON、HTML、メール、URL など、テキストしか扱えないシステムでもバイナリデータを安全にやり取りできます。

How do I decode Base64 online?

Paste your Base64 string into the right box (or open the Base64 Decode page) and click Decode. Live mode updates as you type. Data URIs, line breaks and URL-safe characters are accepted automatically.

How do I encode text or a file to Base64?

Type text on the left and click Encode, or open Base64 Encode and choose Text, Local file or Remote URL. You can pick UTF-8 or 35+ character sets and eight Base64 standards including MIME and Base64URL.

Base64 は暗号化ですか?

いいえ。Base64 は暗号化ではなくエンコードです。鍵なしで誰でもデコードできるため、パスワードや機密情報を隠す目的では絶対に使わないでください。

ファイルはサーバーにアップロードされますか?

いいえ。エンコードとデコードはすべてブラウザ内で実行されます。サーバーを使うのは任意の「URL から読み込み」機能と一部のネットワークツールだけで、データは一切保存されません。

Base64 の出力が入力より大きくなるのはなぜですか?

3 バイトごとに 4 文字になるため、Base64 は元のデータより約 33% 大きくなり、さらに最大 2 つの "=" パディング文字が付きます。

末尾の "=" は何を意味しますか?

それはパディングです。入力の長さが 3 の倍数でない場合、1 つまたは 2 つの "=" 文字で最後の 4 文字のグループを埋めます。

What is Base64URL?

Base64URL (RFC 4648 §5) replaces "+" with "-" and "/" with "_" and often omits "=" padding so the string is safe in URLs, filenames and JWTs without percent-encoding.

Which character set should I use?

Use UTF-8 unless the receiving system requires a legacy encoding. The same text produces different Base64 in UTF-8, Windows-1252 or Shift_JIS because Base64 encodes bytes, not letters.

コメント (0)

「Base64 デコード・エンコード オンライン」についての質問、アイデア、不具合はありますか?コメントを残したり、ツールを評価したり、他の人に返信したりできます。

まだコメントはありません。最初のフィードバックをお寄せください!

コメントを残す

このツールを評価:
Esc
↑ ↓ 移動↵ 開くEsc 閉じる