Base64, Hex & ASCII Converter
Convert firmware blobs between base64, hex and raw bytes, with size and checksum readouts.
Example: 5 bytes: 48656C6C6F — CRC-32 0xF7D18982.
Check it against real silicon
Chiprun runs your firmware on an emulated microcontroller and hands back the UART output, so you can confirm these numbers rather than trusting them.
Formula
base64 packs 3 bytes into 4 characters — a 33% size increaseWorked example
5 bytes: 48656C6C6F — CRC-32 0xF7D18982.
base64 packs 3 bytes (24 bits) into 4 six-bit characters
5 bytes → ceil(5/3) × 4
8 characters
Trailing = signs pad the final group when the length is not a multiple of three.
Frequently asked questions
Why is base64 33% larger than the original?
Because it represents 3 bytes (24 bits) using 4 characters of 6 bits each. That is the cost of restricting the output to a safe printable alphabet, which is what lets binary data survive email, JSON and other text-only transports.
What do the trailing equals signs mean?
Padding. Base64 works in 3-byte groups, so when the data does not divide evenly the final group is padded — one = for two leftover bytes, two = for one. Some decoders accept base64 without padding; some do not.
What is URL-safe base64?
The same encoding with - and _ replacing + and /, because those two characters have meaning in URLs and filenames. This tool accepts either on input. Padding is often omitted in the URL-safe form too.
Related tools
Hex, Binary & Decimal Converter
Convert between hex, binary, decimal, octal and ASCII, with width-aware bit grids and endianness swapping.
Firmware
Intel HEX & SREC Viewer
Parse Intel HEX and Motorola SREC files, verify checksums and view the resulting memory map.
Firmware
CRC Calculator
CRC-8, CRC-16 (CCITT, Modbus, XMODEM) and CRC-32 over hex or ASCII input, with the polynomial and shift steps explained.
Firmware
Bitwise Operation Calculator
AND, OR, XOR, NOT and shifts with a live bit grid so you can see exactly which bits moved.
Firmware
IEEE 754 Float Converter
Convert between decimal, hex and binary float32/float64, with the sign, exponent and mantissa fields broken out.
Firmware
PWM Frequency & Duty Calculator
The frequency-versus-resolution trade-off made explicit, with register values for your MCU and duty-cycle counts.
Firmware