LocalExcelTool
はじめる

Base32 デコード

Base32文字列を元のテキストに戻す。

Base32 デコードとは

Base32デコードとは、Base32で符号化された文字列を元のテキストに戻す処理です。

🔒 処理はすべてブラウザ内で完結し、データは送信されません。

このツールの前提

処理場所
このページのブラウザ内(JavaScript / Canvas)
アップロード
なし — ファイルは端末の外に出ません
オフライン
ページを開いた後は通信不要

Faithful decoding depends on the alphabet, not the letters

Every five characters carry 25 bits, from which three bytes are recovered, with the padding explaining how many bytes the final group actually holds. Get the padding wrong and the last one or two bytes are silently dropped or invented.

This matters more for Base32 than for Base64 because Base32 is almost always used for secrets. A decoded secret that is one byte short still produces valid-looking six-digit codes — just never the right ones. If the codes do not match, verify the decoded length in bytes before suspecting clock drift.

Transcription damage is the normal failure

The alphabet has no 0 or 1, so a human copying a key tends to write O and I, and sometimes l for 1. A strict decoder rejects those characters; a lenient one maps them, which is helpful only if the mapping matches the original intent. Where the cost of being wrong is high, keep the strict behaviour and re-read the source.

Grouping is another source of mismatch. Secrets are typically printed as four-character groups, and dropping a group by accident produces a shorter but structurally valid secret. Count the groups against the original rather than trusting a decode that did not raise an error.

What the output actually is

The result is bytes, not text. For a TOTP secret those bytes are a random key and any printable rendering is meaningless. For payload data the bytes may be anything at all — if the output looks like noise, that is expected rather than a failure.

When the source was text, this page renders it as UTF-8. If the bytes were not UTF-8, the replacement character appears and the correct move is to inspect the bytes rather than to re-encode the display text, which would lock the damage in.

使い方

  1. 1.Base32文字列を入力
  2. 2.デコード
  3. 3.結果を確認

他の方法との比較

同じ変換をする方法は 3 つあります。ブラウザ内(このページ)、サーバー側の変換サービス、デスクトップアプリ。差がつくのは速度ではなく、ファイルがどこへ行くかと、無料でどこまでできるかです。

観点このツールサーバー側の変換サービス
ファイルの処理場所このページのブラウザ内ベンダーのサーバー(アップロード後)
アカウント不要多くの場合必要(無料枠の制限解除に登録を求める)
無料で扱えるサイズサイズ制限なし(回数制限もなし)数ファイル/時間、または 5〜10MB 程度で課金 wall
料金無料。Pro は月 $9(大きいファイルと AI 機能のみ)サブスクが一般的。おおむね月 $7〜15(2026 年 11 月時点)
オフライン一度開けば通信不要不可
20MB を処理し始めるまで待ち時間なし(アップロードが無い)アップロードが支配的(10Mbps 上りで約 16 秒)
保証できないこと出力は決定的です。他の実装と突き合わせて検証できます同じ(変換の原理は変わらない)

サーバー側のサービスが優れている点は明確にあります。巨大なファイル、チームでの共有、変換履歴の管理、スクリプトからの自動化。逆に「1 回だけ、手元のファイルを別形式にしたい」という今回の用途では、アップロードの待ち時間と登録の手間だけが増えます。

よくある質問

Base32デコードとは?

Base32文字列を元のデータに戻す操作です。

安全ですか?

ブラウザ内で完結します。

この変換で失われるもの

エンコードとハッシュは Web Crypto API または純 JavaScript 実装で行います。出力は決定的で、同じ入力からは常に同じ結果になります。他のツールと突き合わせて検証できます。

その他のエンコード / デコード