ASCIIからバイナリへ

ASCII文字をバイナリコードに簡単に変換

コンバータツール

0 characters

任意の ASCII 文字を入力します。非ASCII文字はエラーを引き起こします。

このツールについて

ASCIIからバイナリへのコンバーターは、ASCII文字を同等のバイナリに変換するツールです。各 ASCII 文字は、拡張 ASCII が使用されているかどうかに応じて、一意の 7 ビットまたは 8 ビットのバイナリ コードで表されます。

仕組み

  1. Each character in the input text is checked to ensure it is within the ASCII range (0-127 for standard ASCII, 0-255 for extended ASCII).
  2. 有効な各 ASCII 文字は、ASCII テーブルに基づいて対応する 10 進数に変換されます。
  3. The decimal value is then converted into an 8-bit binary string (padded with leading zeros if necessary).
  4. The resulting binary strings for all characters are combined (optionally separated by spaces) to form the final output.

一般的な用途

  • コンピュータサイエンス教育:テキストがバイナリ レベルでコンピューターに格納される方法を理解する。
  • データ伝送:バイナリデータを必要とするネットワーク経由で送信するために、テキストをバイナリに変換します。
  • Cryptography:バイナリ入力で動作する暗号化アルゴリズム用のテキスト データを準備します。
  • 低レベルプログラミング:システム・プログラミングでのテキストのバイナリ表現の操作。
  • デジタル通信:テキスト情報をデジタルで表現する方法の基本を理解する。

ASCIIシステムの基本

The ASCII (American Standard Code for Information Interchange) system uses 7 bits to represent 128 characters, including English letters (both uppercase and lowercase), numbers, and various symbols. Extended ASCII uses 8 bits to represent 256 characters, adding additional characters from various languages and symbols.

パーシャルASCIIからバイナリへの変換テーブル

Character ASCII 10進数 Binary (8-bit)
Space 32 00100000
! 33 00100001
" 34 00100010
# 35 00100011
A 65 01000001
B 66 01000010
a 97 01100001
b 98 01100010
0 48 00110000

Related Tools