Base16 (Hex) Encode & Decode

Hexadecimal representation of text (Base16). This tool does both encode and decode on one page — just pick a mode, paste your text, and click. Everything runs on your device, nothing is sent to a server.

The result will appear here…
or press Ctrl+Enter

Everything runs in your browser. Your data is never sent to our servers.

728 × 90Ad Space AvailablePlace your ad here

Example

Example Input

Hello

Example Output

48656c6c6f

How to Use

  1. 1Choose Encode or Decode mode at the top.
  2. 2Type or paste your text into the Input field.
  3. 3Click the button (or press Ctrl+Enter) to process. The result appears in the Output field.
  4. 4Click Copy to copy the result, or "Swap input/output" to quickly reverse the operation.

About Base16 (Hex)

Base16, better known as hexadecimal, converts data into a 16-symbol representation (0–9 and a–f). Each byte is represented by exactly two hex characters.

How it works: each byte (8 bits) is split into two 4-bit nibbles, and each nibble maps to a single hex digit. As a result, the output is always twice the length of the original bytes.

Base16 is everywhere: CSS colors, memory addresses, hash representations, and binary debugging. It is human-readable and unambiguous, though less compact than Base64.

FAQ

Can this Base16 (Hex) tool both encode and decode?

Yes. This is a single page with a toggle — use Encode mode to transform text, and Decode mode to reverse it. No need for two separate pages.

Is my data sent to a server?

No. Base16 (Hex) is processed entirely in your browser. The text you enter never leaves your device.

Related Tools

Related Categories