LocalExcelTool
はじめる

Base58デコード

Base58文字列を元のテキストに復元します。

Base58デコードとは

Base58デコーダーは、Base58エンコードされた文字列を元のテキストに復元するツールです。Bitcoinアルファベット以外の文字(0やOなど)が混ざっている場合はエラーで知らせるため、コピーミスの検出にも役立ちます。

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

このツールの前提

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

Length is not preserved, so the output must be inspected

Because the encoding is a base conversion, the decoded byte length depends on the numeric value rather than on the string length. Two Base58 strings of equal length can decode to different byte counts, which is unlike Base64 and Base32 and surprises people who expect a fixed ratio.

That also means a corrupted character changes the length as often as it changes a byte's value. If a decoded payload is one byte short or long, you are looking at a single wrong character rather than a truncated input.

Alphabet confusion produces garbage, not errors

Every character of Base64's alphabet is also a Base58 character except 0, O, I, l, + and /. So a Base64 string fed to a Base58 decoder usually decodes successfully into meaningless bytes. There is no error to catch; only the shape of the output tells you something is wrong.

The same applies across variants: Bitcoin's alphabet versus Flickr's differs in exactly the characters people rarely notice. When a decoded key or address is rejected downstream, the first thing to confirm is which alphabet produced the string, not whether the string is damaged.

Checksums are a separate layer

Base58 itself has no integrity check. Bitcoin addresses embed a four-byte double-SHA256 checksum inside the decoded payload, and that is what makes a typo detectable — the decode succeeds and the checksum fails. IPFS CIDs use a multihash prefix for the same purpose.

So a clean decode proves nothing about correctness. If the payload carries a checksum, verify it; if it does not, the only reliable check is round-tripping the value back to Base58 and comparing with the source character for character.

使い方

  1. 1.Base58文字列を貼り付け
  2. 2.「実行する」をクリック
  3. 3.元テキストを確認

他の方法との比較

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

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

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

よくある質問

エラーになる文字は?

Bitcoinアルファベット外の文字(0、O、I、l、+、/など)は無効としてエラー表示されます。

対応する文字は?

0を除く数字1-9、大文字A-ZからOとIを除いたもの、小文字a-zからlを除いたものの58文字です。

この変換で失われるもの

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

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