텍스트를 Hex로
텍스트를 16진수 표현으로 손쉽게 변환
변환기 도구
Enter text to convert to hexadecimal. Choose between UTF-8 (supports all characters) and ASCII (only 128 characters). Options to add spaces between hex values and use uppercase letters are available.
변환 테이블:
Character | UTF-8 코드 | Hex Value |
---|
Text to Hexadecimal 변환 정보
텍스트 인코딩
텍스트 문자는 컴퓨터에서 숫자로 표시됩니다. 다른 인코딩 시스템은 문자에 다른 숫자를 사용합니다.
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은 유니코드 표준의 모든 문자를 나타낼 수 있는 가변 길이 문자 인코딩입니다. 문자당 1-4바이트를 사용합니다. UTF-8은 ASCII와 역호환되므로 처음 128개의 UTF-8 문자가 ASCII와 동일합니다.
변환 프로세스
텍스트를 16진수로 변환하려면 다음 단계를 수행해야 합니다.
- Determine the numerical value of each character using the chosen encoding (ASCII or UTF-8).
- Convert each numerical value to its hexadecimal (base-16) representation.
- 선택적으로, 각 16진수 값을 가독성을 위해 공백으로 구분합니다.
- 필요에 따라 모든 16진수를 대문자로 변환합니다.
예: "hi"를 16진수로 변환
Step 1: Convert each character to its numerical value (ASCII):
H → 72
i → 105
2단계: 각 숫자 값을 16진수로 변환합니다.
72 → 48 (in hexadecimal)
105 → 69 (in hexadecimal)
Step 3: Combine the hexadecimal values (with spaces):
48 69
사용 참고 사항
- When using ASCII encoding, any character outside the 7-bit ASCII range (128-255) will be converted to a question mark (?).
- UTF-8 인코딩은 특수 기호, 이모티콘 및 영어가 아닌 언어의 문자를 포함한 모든 유니코드 문자를 지원합니다.
- 각 UTF-8 문자는 두 개 이상의 바이트를 사용하는 경우 여러 개의 16진수 값으로 표시될 수 있습니다.
- 16진수 값은 메모리 주소, 색상 코드 및 이진 데이터 표현을 위한 컴퓨팅에 자주 사용됩니다.