2進数→16進数変換ツール
2進数を16進数に変換します。同じ値を表すのに、16進数は2進数より4倍コンパクトです。
このツールの使い方
- 1
Type or paste your binary digits into the input box. Whitespace between groups is fine and gets stripped automatically.
- 2
Read the uppercase hexadecimal result in the box below, which updates instantly as you type.
- 3
Copy the hex value out for use in your code, config, or documentation.
2進数→16進数変換ツールとは何ですか?
2進数は基数2(0と1の桁)を使い、16進数は基数16(0〜9とA〜Fの桁)を使います。16進数の1桁は、ちょうど2進数の4桁に対応するため、16進数は大きな2進数をはるかにコンパクトに書く方法です。この変換は、プログラミング、メモリダンプのデバッグ、機械語の読解において基本となるものです。
よくある活用例
Shorten a long binary literal from a datasheet or register map into compact hex for your firmware code.
Translate a binary permission or flag mask into the hex form your config file or API expects.
Check a binary value by hand against the hex shown in a debugger or memory viewer.
Convert binary output from a logic exercise or homework problem into hex to verify your answer.
Turn a binary representation of an RGB channel into the hex pair used in CSS color codes.
Prepare hex constants for embedded registers when your reference material only lists the bit pattern in binary.
よくある質問
なぜ2進数より16進数が好まれるのですか?▼
関連ツール
JSON→CSV変換ツール
オブジェクトのJSON配列をCSV形式に変換します。APIのデータをスプレッドシートにエクスポートするのに最適です。
CSVからJSONへの変換ツール
CSVデータをオブジェクトのJSON配列へ変換します。最初の行はヘッダーとして扱われます。
CSVからSQL INSERTへ
CSVデータからSQLのINSERT文を生成します。CSVエクスポートをデータベースにインポートするのに役立ちます。
16進数→2進数変換ツール
16進数を2進数に変換します。各16進数の桁はちょうど4桁の2進数に展開されます。
10進数から2進数への変換ツール
10進数を2進数、16進数、8進数へ、すべての基数に一度に変換します。
ASCII→16進数変換ツール
テキストをASCIIの16進数コードに変換したり、その逆を行ったりします。各文字は2桁の16進数値に変換されます。