OneFreePlace
TOOL #353 · BYTES & HEX

Hex Encoder / Decoder

A byte-accurate, browser-local hex workbench for text, files, packets and binary debugging — with strict multi-format parsing, UTF encodings, hexdumps, byte inspection, signature detection, endianness tools and verified round trips.

Text ↔ bytes ↔ hexRaw binary filesUTF-8/16 + legacy encodingsHexdump + C/\\x/% stylesByte inspectorFile signaturesBatch ZIPNo upload
RAW FILE
Input
Verified output
Bytes0
Input chars0
Entropy0.00
Printable0%
Signature—
Verification—
Processing0 ms

Byte & encoding audit

ReadyConvert input to run strict hex and encoding diagnostics.

Why this is safer than “hex ↔ text”

Hex represents bytes, not characters. OneFreePlace keeps those layers separate: it parses bytes strictly, applies the encoding you chose, detects BOMs and binary signatures, and independently converts the result back before Copy/Download is enabled.

Engine ready. Ctrl/Cmd + Enter converts.

Byte profile

Bytes0
Unique bytes0
Null bytes0
Entropy0.00
CRC-3200000000
Detected type—

The inspector uses the exact byte stream from the last successful conversion or loaded binary file.

Hexdump

No bytes inspected yet.

Byte table

OffsetHexDecimalBinaryASCII

Endian transform

Reverse byte order inside fixed-size words without changing word order. Useful for registers, packet fields and binary debugging.

Requires a byte length divisible by the selected word size.

Batch byte processor

Raw-file mode never decodes the file as text. Hex-to-binary mode uses the strict parser and skips files with malformed hex.

No files selected.

Presentation only; byte values are unchanged.

Used by hexdump output and the byte inspector.

Available for UTF-8, UTF-16 LE and UTF-16 BE.

Auto encoding uses BOM first and otherwise defaults to UTF-8.

Prevents invisible replacement or cross-runtime differences when encoding text.

This setting affects files opened as text, not raw binary files.

Accepts compact/spaced hex, colons/dashes/commas, 0x tokens, \\xHH, %HH, and OneFreePlace hexdumps. Odd nibbles and invalid characters are blocked.

Conversion, signature detection, byte inspection, endianness transforms and ZIP generation run locally. No upload endpoint or remote runtime API is required.

1. Hex is bytes, text needs an encoding

The byte E9 can mean “é” in Latin-1, while UTF-8 encodes “é” as C3 A9. Pick the intended encoding instead of assuming every hex string is ASCII.

2. Use Auto for BOM-aware decoding

Auto recognizes UTF-8, UTF-16 LE and UTF-16 BE byte-order marks. Without a BOM it uses strict UTF-8. If the bytes are arbitrary binary, use Download bytes instead of forcing them through a text decoder.

3. Paste common hex styles directly

The parser understands 48 65 6C 6C 6F, 48656C6C6F, 0x48, 0x65, \\x48\\x65, %48%65 and generated hexdumps. It rejects ambiguous or malformed half-bytes.

4. Inspect bytes before guessing

The Byte Inspector shows offsets, binary values, printable ASCII, entropy, CRC-32, BOMs and common file signatures such as PNG, JPEG, PDF, ZIP, GZIP, ELF, PE, SQLite, WebP and WAV.

5. Raw files stay raw

Open binary reads file bytes directly. This is useful for packet captures, firmware fragments, images, archives and other content that must not be decoded as text first.

6. Endianness is a byte transform

Swap 16-, 32- or 64-bit words when interpreting little-endian and big-endian fields. The tool refuses incomplete words instead of silently padding them.

7. Verification is fail-closed

Text → Hex is parsed back into bytes and decoded again. Hex → Text is re-encoded and compared with the decoded byte stream. Copy and normal text downloads remain disabled if exact reconstruction fails.

8. Batch without upload

Convert multiple raw files to hex or strict hex files back to binary and download the results as one ZIP generated locally in your browser.