LocalExcelTool
はじめる

Base58エンコード

テキストをBase58(Bitcoinアルファベット)にエンコードします。

Base58エンコードとは

Base58エンコーダーは、テキストをBase58形式に変換するツールです。Base58は0/O/I/lなど紛らわしい文字を除いた58文字のアルファベット(Bitcoin採用)を使うため、人が読み書きしやすく誤認が起きにくいのが特徴です。Bitcoinアドレスや短縮IDなどに使われます。

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

このツールの前提

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

Base64 minus the characters people get wrong

Base58 uses 58 characters: the digits and letters except 0, O, I and l, and without + or /. Those four characters are exactly the ones that look alike in most fonts, and the two symbols are exactly the ones that break in URLs and double-click selection. The result is an encoding you can read over the phone or fit into a filename.

It is not an RFC. The alphabet is a Bitcoin convention, and alternatives exist — Flickr's Base58 omits a different set, Ripple's omits yet another. A string encoded with one alphabet decoded with another yields wrong bytes with no error, so the alphabet has to be agreed on out of band.

Leading zeros become leading ones

Base58 is a big-number base conversion, which has an awkward edge: a number has no notion of a leading zero byte, but the payload does. The convention is to translate every leading 0x00 byte into a literal '1' before encoding, and to restore them on decode. Skip that and a 25-byte Bitcoin payload comes back as 24 or 23 bytes and fails its checksum.

The practical symptom is an address that looks right but is rejected as invalid. If you are debugging one, count the leading '1' characters — each corresponds to one 0x00 byte, and version bytes happen to be small numbers, which is why real addresses often start with a single 1.

Where you meet it

Bitcoin and other derived address formats, IPFS content identifiers, some short-link and licence-key schemes. It is chosen whenever a value must survive human handling, appearance in print, or being read aloud.

It is also slower than Base64 because each step is a big-integer division rather than a bit shift, which is irrelevant for an address but noticeable for large payloads. Base58 is a display format for short identifiers, not a general-purpose transport encoding.

使い方

  1. 1.テキストを入力
  2. 2.「実行する」をクリック
  3. 3.Base58結果をコピー

他の方法との比較

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

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

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

よくある質問

Base64と何が違う?

Base58は紛らわしい文字(0/O/I/l)と記号を除いた58文字だけで表します。URLや手写でも誤認しにくいのが利点です。

Base58の用途は?

Bitcoinアドレス、IPFSのCID、短縮IDなど、人が目で確認する識別子に広く使われています。

この変換で失われるもの

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

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