10進数から2進数への変換ツール
10進数を2進数、16進数、8進数へ、すべての基数に一度に変換します。
このツールの使い方
- 1
Type or paste a decimal (base-10) whole number into the input box.
- 2
Read the binary, hexadecimal (shown with a 0x prefix), and octal forms in the table that appears below.
- 3
Change the number to convert a different value, or clear the box to hide the results.
- 4
Copy any line of output you need straight from the table into your code or terminal.
10進数から2進数への変換ツールとは何ですか?
それぞれの基数は異なる場面で役立ちます。10進数は人にとって分かりやすいものです。2進数はメモリに実際に格納されているビットを表します。16進数はバイトをコンパクトに表現したものです。8進数は主にUnixのファイル権限に使われます。これらの間で変換することは開発者にとって日常的な作業であり、このツールは3つを同時に行います。
よくある活用例
Checking the binary pattern of a value while debugging bitmask or flag-based logic in your code.
Translating a decimal color or byte value into hex when writing CSS, HTML, or low-level data.
Working through computer-science homework on number bases and verifying your hand conversions.
Reading an octal Unix file-permission value such as 755 and seeing its binary bits.
Confirming what bits an embedded-systems register value sets before flashing firmware.
Quickly converting a network or protocol constant between decimal, hex, and octal during analysis.
関連ツール
JSON→CSV変換ツール
オブジェクトのJSON配列をCSV形式に変換します。APIのデータをスプレッドシートにエクスポートするのに最適です。
CSVからJSONへの変換ツール
CSVデータをオブジェクトのJSON配列へ変換します。最初の行はヘッダーとして扱われます。
CSVからSQL INSERTへ
CSVデータからSQLのINSERT文を生成します。CSVエクスポートをデータベースにインポートするのに役立ちます。
2進数→16進数変換ツール
2進数を16進数に変換します。同じ値を表すのに、16進数は2進数より4倍コンパクトです。
16進数→2進数変換ツール
16進数を2進数に変換します。各16進数の桁はちょうど4桁の2進数に展開されます。
ASCII→16進数変換ツール
テキストをASCIIの16進数コードに変換したり、その逆を行ったりします。各文字は2桁の16進数値に変換されます。