テキストへのヘックス
16進数表現をテキストに簡単に変換
コンバータツール
Enter hexadecimal values to convert to text. Choose between UTF-8 (supports all characters) and ASCII (only 128 characters). Specify if hex values are separated by spaces and whether to ignore invalid characters.
変換テーブル:
Hex Value | Decimal | Character |
---|
16進数からテキストへの変換について
テキストエンコーディング
テキスト文字は、コンピューターでは数字で表されます。エンコード システムによって、文字に使用される数値は異なります。
ASCII
The ASCII (American Standard Code for Information Interchange) encoding uses 7 bits to represent 128 characters, including English letters (both uppercase and lowercase), digits, and common punctuation symbols. Each ASCII character can be represented by a unique number between 0 and 127.
UTF-8
UTF-8 は、Unicode 標準のすべての文字を表すことができる可変長文字エンコードです。1 文字あたり 1 から 4 バイトを使用します。UTF-8 は ASCII と下位互換性があり、UTF-8 の最初の 128 文字は ASCII と同じです。
変換プロセス
16進数をテキストに変換するには、次の手順が必要です。
- 16進数の入力を個々の16進数に解析し、スペースで区切られているかどうかを考慮します。
- Convert each hexadecimal value to its decimal (base-10) equivalent.
- Convert each decimal value to its corresponding character using the chosen encoding (ASCII or UTF-8).
- 文字を組み合わせて、最終的なテキスト文字列を形成します。
例: 16 進数 "48 69" をテキストに変換する
ステップ1:16進数の値を区切ります。
48 and 69
ステップ2:各16進数の値を10進数に変換します。
48 (hex) → 72 (decimal)
69 (hex) → 105 (decimal)
Step 3: Convert each decimal value to a character (ASCII):
72 → H
105 → i
ステップ4:文字を組み合わせます。
Hi
使用上の注意
- Each hexadecimal value should be a valid 2-digit hex number (00-FF).
- When using ASCII encoding, any hexadecimal value outside the 7-bit ASCII range (00-7F in hex) will be converted to a question mark (?).
- UTF-8 エンコードは、特殊記号、絵文字、英語以外の言語の文字など、すべての Unicode 文字をサポートします。
- 一部の 16 進数値は、印刷不可能な文字を表している場合があり、空白または特殊記号として表示されます。