2進数コンバーター
2進数をテキスト、10進数、16進数に変換するか、テキストを2進数にエンコードします。リアルタイム出力。
Binary is the native language of computers, but reading long strings of ones and zeros requires training and practice. Whether you're studying computer architecture, debugging bit flags in an embedded system, following along with a networking textbook, or working through a bitwise operation by hand, having an instant converter that maps between binary and its human-readable equivalents is invaluable.
This tool converts a binary string to text (via ASCII/UTF-8), to decimal, and to hexadecimal simultaneously. Enter any sequence of 0s and 1s and see all representations update in real time. Useful for verifying bitmasks, understanding character encoding at the bit level, and checking the output of bitwise operations in code.
2進数をオンラインで変換する方法
- 1
2進数またはテキストを入力
2進数文字列(0と1)を入力するか、プレーンテキストを貼り付けてください。バイトグループ間のスペースも受け付けます。
- 2
すべての出力を確認
UTF-8テキスト、10進数、16進数の出力がリアルタイムで更新されます。無効な文字(0と1以外)はインラインでハイライト表示されます。
- 3
結果をコピー
必要な表現をコピーしてください。すべての計算はブラウザ内でローカルに実行されます。
How Binary Representation Works
Binary is base 2 — each digit (bit) is either 0 or 1. A sequence of 8 bits forms a byte, which can represent 256 distinct values (0–255). The decimal value of a binary number is computed as a sum of powers of 2: the rightmost bit is 2^0, the next is 2^1, and so on. `10110011` in binary equals 128 + 32 + 16 + 2 + 1 = 179 in decimal and `0xB3` in hex.
Converting binary to text groups the bits into 8-bit bytes and maps each byte to the corresponding ASCII or UTF-8 character. For multi-byte UTF-8 characters, the bit pattern follows a specific structure: the leading byte begins with as many 1-bits as there are bytes in the sequence, followed by a 0-bit, while continuation bytes start with `10`. This structured bit pattern allows a parser to unambiguously identify character boundaries.
FileCrank 2進数コンバーターを使う理由
- ✓ 2進数をテキスト、10進数、16進数に同時に変換。
- ✓ バイトグループ間のスペースを含む2進数文字列を受け付け。
- ✓ 無効な文字(0/1以外)をエラーとしてインラインでハイライト。
- ✓ 完全にブラウザ内で動作 — データはサーバーに送信されません。
機能と仕様
よくある質問
2進数はどのようにテキストを表現しますか?
各文字には数値コードポイントがあります。2進数コンバーターはそれらのコードポイントの2進表現を8ビットグループ(バイト)として表示します。文字Aのコードポイントは65で、8ビット2進数では01000001です。
2進数文字列にグループ間のスペースがありますが、使えますか?
はい。ツールはバイトグループ間のスペースを含む2進数文字列(例:01000001 01000010)を受け付けます。スペースは処理前に除去されます。グループは8ビット(1バイト)であることが期待されます。
一部の2進数入力でテキスト出力に置換文字が表示されるのはなぜですか?
2進数バイトが有効なUTF-8シーケンスを形成していない可能性があります。UTF-8は特定のビットパターンを持つマルチバイトシーケンスとして一部の文字をエンコードします。ランダムまたは非UTF-8のバイナリデータは無効なシーケンスを生成し、置換文字として表示されます。
ここで10進数や16進数を2進数に変換できますか?
いいえ — その場合は進数変換ツールに10進数または16進数値を入力してください。このツールは2進数文字列専用です。
Browser Converter vs. Python bin() vs. Programmer Calculator
Python's `bin()` function converts integers to binary strings but does not handle text or show multiple bases simultaneously. A programmer calculator covers binary but is typically limited to fixed-width integers (8, 16, 32, 64 bits). A browser-based converter works on arbitrary-length bit strings, shows all useful representations at once, and requires no local tools — making it the fastest option for quick educational lookups and debugging checks.
関連ツール
FileCrank 2進数コンバーターは2進数文字列をUTF-8テキスト、10進数、16進数にリアルタイム出力とインラインエラーハイライト付きで変換します。完全にブラウザ内で動作します。
Advertisement