The binary and encoding bench
toolbox.
Inspect floating-point bits, dump a file in hex, identify a file by its magic bytes, repair garbled text and convert between encodings.
Keep this toolbox for offline use
12 useful places to start.
File tools read the bytes in your browser only. A file type match shows what a file claims to be, not that it is safe.
IEEE 754 float bit inspector
See the sign, exponent and fraction bits of a number in half, bfloat16, single, double or quadruple precision, with the exact stored value.
Hex dump viewer
Look at the bytes of a file or pasted data as an xxd-style hex dump, search for text or hex, jump to a match and read numbers at any offset.
File type detector (magic bytes)
Find out what a file really is from its first bytes: PNG, JPEG, PDF, ZIP, Office, executables and more than a hundred other formats, and whether its name agrees.
Text file inspector (encoding, line endings, hidden characters)
Check a text or CSV file for its encoding, byte order mark, line endings, mixed tabs and spaces, trailing spaces and invisible Unicode characters, and download a cleaned copy.
Mojibake repair (garbled text fixer)
Repair text like café or don’t whose UTF-8 was read as Windows-1252, Latin-1 or MacRoman, including double encoding, with every candidate shown.
Base32, Base58, Base62 and Base85 encoder and decoder
Encode text or bytes as Base16, Base32, Crockford, Base58 or Base58Check, Base62, Ascii85 or Z85, and decode them back with exact error positions.
CRC calculator (CRC-8, CRC-16, CRC-32, CRC-64 and custom)
Compute any of the 113 catalogued CRCs, or your own width, polynomial and reflection, of text or hex bytes, with the check value.
Bitwise calculator
Run AND, OR, XOR, shifts and rotates on fixed-width integers in decimal, hex and binary.
Number base converter
Convert whole numbers between bases 2 to 36 exactly.
Punycode and IDN domain converter
Convert international domain names to xn-- Punycode and back, compare with the browser’s own conversion and flag lookalike letters.
Unicode character inspector
Inspect code points, names for common controls and UTF-8 bytes.
Text & binary converter
Encode UTF-8 text as binary bytes and decode it back.
A few things you
can tick off.
- See the bits of 0.1 as a double
- Identify a file with the wrong extension
- Repair text that shows é instead of é