hex.reez.cc

hex --convert

Encoding converter

Text, hex, Base64, binary, URL encoding and escaped strings are different spellings of the same bytes. Pick two and convert in either direction. Nothing leaves your browser.

input

Type, paste or drop a small file.

output

The converted bytes appear here.

The formats

FormatExampleAlso accepted as input
Text (UTF-8)Hi ✓Any text. Characters outside ASCII take two to four bytes.
Hex48 69 20 e2 9c 934869, 48:69, 0x48, 0x69, \x48\x69, upper or lower case
Base64SGkg4pyTWith or without = padding, line breaks, the URL-safe alphabet
Base64 URL-safeSGkg4pyTUses - and _ instead of + and /, no padding. Used in JWTs.
Binary01001000 01101001Eight bits per byte, spaces optional, 0b prefix
Decimal bytes72 105Numbers from 0 to 255, separated by spaces or commas
URL encodingHi%20%E2%9C%93Unescaped characters are kept. A + stays a plus.
Escaped stringHi \xe2\x9c\x93\n \t \r \0 \\, \xNN, \uNNNN, \u{…}, octal \101

More