- 실행기
-
학습
Python 배우기 실행 가능한 예제, NumPy, pandas 등 AI / 머신러닝 배우기신경망, 머신러닝, LLM을 처음부터 C/C++ 배우기 포인터, 메모리, STL, 모던 C++ C# 배우기C# 기초, OOP, LINQ, async 및 .NET 연습 Matplotlib 배우기선, 막대, 산점도, 원 그래프를 시각화 도구와 함께 Rust 배우기소유권, 트레이트, 오류 처리, 스레드 Go 배우기슬라이스, 인터페이스, 고루틴, 채널 Python 알고리즘 검색, 정렬, 재귀와 시각화 도구 O(n) C/C++ 알고리즘 C와 C++ 구현 비교 어린이 코딩 놀면서 코딩을 배워요! AP CSP의사코드 실행기, 모의고사, 점수 계산기
- 퀴즈NEW
- 문제NEW
- 교사용NEW
- 업데이트
- 커피 한 잔 사 주기
Hex 디코더 & 인코더
어떤 형식의 hex든 붙여 넣으면 바로 텍스트가 되고, 텍스트를 hex로 바꿀 수도 있습니다. 이 hex가 무엇인지 모르겠다면 AI가 설명하고 안에 든 Base64, gzip, XOR까지 풀어 줍니다.
🚀 177,388 총 변환 (279 이번 달)
바이트 분석
| 크기 | |
|---|---|
| 10진수 | |
| 리틀 엔디언 | |
| 부호 있음 | |
| 2진수 | |
| 8진수 | |
| UUID | |
| 색상 | |
| Base64 |
Hex 덤프
소개
이 온라인 16진수 인코더 도구는 문자열을 16진수 형식으로 변환하고 다시 변환하는 것을 쉽게 만들어 줍니다. 텍스트나 숫자를 다루든, 이 도구는 과정을 단순화하고 시간을 절약해 줍니다.
이 도구 사용 방법
- 편집기에 문자열을 직접 붙여넣거나 입력하세요.
- 인코드 또는 디코드 버튼을 클릭하여 문자열을 16진수 형식으로 변환하거나 다시 변환하세요.
-
인코딩 또는 디코딩 후, 다음을 수행할 수 있습니다:
- 결과를 다운로드합니다.
- 짧은 링크를 사용하여 다른 사람과 저장하거나 공유합니다.
- Google 또는 GitHub으로 로그인하여 나중에 사용할 수 있도록 계정에 결과를 저장합니다.
16진수란 무엇인가요?
16진수(또는 hex)는 이진 데이터를 표현하는 것을 단순화하는 16진법 숫자 체계입니다. 16개의 기호를 사용합니다: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F. 각 16진수 숫자는 4비트 이진 시퀀스를 나타내며, 이진수를 쓰고 읽기 훨씬 쉽게 만듭니다.
예를 들어:
- 이진수에서 16진수로:
11010100→D4 - 16진수에서 이진수로:
FFFF3→11111111111111110011
왜 16진수를 사용하나요?
16진수는 컴퓨팅 및 디지털 시스템에서 더 간결하고 읽기 쉬워서 일반적으로 사용됩니다. 메모리 주소, 색상 코드, ASCII 또는 유니코드 문자 집합에서 데이터를 나타내는 데 자주 사용됩니다.
자세한 내용은 이 유용한 가이드를 확인하세요.
예제
인코딩 전
Hello, World!
인코딩 후
48656c6c6f2c20576f726c6421
Hex를 텍스트로 디코딩: 지원하는 형식
찾은 그대로 16진수를 붙여 넣으세요. 디코더가 공백, 쉼표, 콜론과 0x, \x, % 접두사를 지우고 두 자리마다 1바이트로 바꿉니다.
| 붙여 넣는 Hex | 얻는 텍스트 |
|---|---|
48656c6c6f | Hello |
48 65 6c 6c 6f | Hello |
0x48 0x65 0x6c 0x6c 0x6f | Hello |
\x48\x65\x6c\x6c\x6f | Hello |
48:65:6c:6c:6f | Hello |
c3 a9 74 c3 a9 | été |
f0 9f 98 80 | 😀 |
바이트를 UTF-8로 읽기 때문에 한글, 중국어, 일본어, 키릴 문자, 악센트 문자, 이모지도 올바르게 디코딩됩니다.
Hex는 암호인가요?
퍼즐이나 CTF에서는 "hex 암호"라고 부르기도 하지만, hex는 암호화가 아니라 인코딩입니다. 두 자리가 1바이트일 뿐이라 이런 디코더로 누구나 원래대로 읽을 수 있습니다. 데이터를 숨기려면 진짜 암호화를, 변경 여부를 확인하려면 SHA-256 같은 해시를 사용하세요.
Hex를 손으로 디코딩하는 방법
16진수를 두 자리씩 나눕니다. 각 쌍은 0부터 255까지의 수로, 첫 자리는 16의 자리, 둘째 자리는 1의 자리입니다(a = 10부터 f = 15). 그 수를 ASCII 표에서 찾으면 글자가 나옵니다.
48 → 4 × 16 + 8 = 72 → "H"
65 → 6 × 16 + 5 = 101 → "e"
6c → 6 × 16 + 12 = 108 → "l"
Hex to ASCII table
Printable ASCII characters by hex value: row is the first digit, column the second. 41 is "A", 61 is "a", 20 is a space.
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | A | B | C | D | E | F | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2 | ␠ |
! |
" |
# |
$ |
% |
& |
' |
( |
) |
* |
+ |
, |
- |
. |
/ |
| 3 | 0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
: |
; |
< |
= |
> |
? |
| 4 | @ |
A |
B |
C |
D |
E |
F |
G |
H |
I |
J |
K |
L |
M |
N |
O |
| 5 | P |
Q |
R |
S |
T |
U |
V |
W |
X |
Y |
Z |
[ |
\ |
] |
^ |
_ |
| 6 | ` |
a |
b |
c |
d |
e |
f |
g |
h |
i |
j |
k |
l |
m |
n |
o |
| 7 | p |
q |
r |
s |
t |
u |
v |
w |
x |
y |
z |
{ |
| |
} |
~ |
DEL |
Decode hex in code
The same conversion in common languages (UTF-8 text):
# Python
bytes.fromhex("48656c6c6f").decode("utf-8") # 'Hello'
"Hello".encode().hex() # '48656c6c6f'
// JavaScript (Node.js)
Buffer.from("48656c6c6f", "hex").toString("utf8") // 'Hello'
Buffer.from("Hello").toString("hex") // '48656c6c6f'
// Go
b, _ := hex.DecodeString("48656c6c6f") // string(b) == "Hello"
// PHP
hex2bin("48656c6c6f"); // 'Hello'
// C#
Encoding.UTF8.GetString(Convert.FromHexString("48656c6c6f"));
# Bash
echo 48656c6c6f | xxd -r -p # Hello
Hex decoder FAQ
How do I decode hex to text?
Paste the hex into the right box. It turns into text on the left as you type, in any format: 48656c6c6f, 48 65 6c 6c 6f, 0x48 0x65, \x48\x65, 48:65 or a hex dump from xxd. Type text on the left to get its hex.
Why does the decoded text show strange characters?
The bytes are not text in the selected encoding. Try UTF-16 or Latin-1 in "Text encoding". If it still looks like noise, the hex is binary data such as a hash, a key or a file: the byte inspector shows what it probably is, and Explain with AI can tell you more.
What does 0x mean in hex?
0x marks a hexadecimal number in C, Java, JavaScript, Python and most other languages, so 0x41 is 65 in decimal, the letter "A". The decoder removes 0x, \x and % prefixes for you.
How do I convert hex to decimal?
Paste the hex and look at the byte inspector: it shows the number in decimal (big-endian and little-endian), signed, binary and octal. For example FF is 255, and 01 00 is 256 in big-endian or 1 in little-endian.
What is the difference between hex and Base64?
Both write bytes as text. Hex uses two characters per byte, so it doubles the size but is easy to read. Base64 uses four characters for every three bytes, about 33% bigger, which is why it is used in emails, data URLs and JSON. If you paste Base64 here, the page offers to convert it.
Can I decode a hex dump or a whole file?
Yes. Paste output from xxd or hexdump -C and the offsets and text columns are ignored. Use "Open file" to see any file as hex, and "Download bytes" to save decoded hex as a file: PNG, JPEG, PDF, ZIP and other types are detected from their first bytes.
What does Explain with AI do?
It tells you what an unknown hex string probably is: a hash, a UUID, a file header, a network packet or text that is encoded again (Base64, gzip, XOR, ROT13). When more decoding steps are needed, your browser runs them and shows the result, so you see the real decoded data, not a guess.
Is my data sent to a server?
No. Decoding, encoding and the byte inspector run in your browser. The hex is only sent when you press Explain with AI, and then only to answer that question.