Hex Encoder / Decoder
Convert text to its hexadecimal (base-16) representation, or decode hex strings back to readable text. Each character is represented as two hex digits. Supports uppercase, lowercase, and space/colon separators.
What is Hexadecimal Encoding?
Hexadecimal (base-16) encoding represents binary data using 16 symbols: the digits 0–9 and the letters A–F. Each byte (8 bits) is represented as exactly two hex digits, making hex a compact and human-readable way to display binary data. For example, the letter A has ASCII code 65, which is 0x41 in hex.
Frequently Asked Questions
FF and ff represent the same value. Uppercase is traditional in many contexts (memory dumps, network protocols). Lowercase is common in CSS colour values and many programming APIs. This tool lets you choose your preferred format.0x prefix is a programming convention (used in C, Python, JavaScript, and many other languages) to indicate that the following number is hexadecimal. It has no mathematical meaning and is not part of the hex value itself — it's purely a notation to distinguish hex from decimal or binary literals.Enjoying this tool?
Every tool here is free, forever — no signup, no paywall. If this one just saved you real time, a small tip keeps them free and ad-light.
☕ Support This Tool →Need something built, not just formatted?
This toolbox is free. If your business needs custom software, AI integration, or a system built around this kind of tooling, that's what I do for a living.