Input
Output
100% Private
All conversion happens locally in your browser.
Convert text to binary, hexadecimal, octal, and decimal online for free. Real-time bidirectional conversion with copy support.
Written & reviewed by Helperzy Editorial Team · Updated July 2026
Input
Output
100% Private
All conversion happens locally in your browser.
Type or paste the characters you want encoded. Output updates as you type, so you can watch each character add its byte to the result in real time.
Pick binary for bit patterns, hexadecimal for compact byte notation, octal for permission-style values, or decimal for raw code points. Switching format re-encodes the same text instantly.
Copy the encoded output for your homework, code array or engraving spec. To go the other way, switch to decode mode and paste space-separated groups back in.
Every character you type is stored as a number, and this converter shows you that number in four bases: binary, hexadecimal, octal and decimal. It also runs backwards, decoding any of those forms into readable text. The people who need it are mostly students meeting character encoding for the first time, developers inspecting a data format or debugging a mangled string, and hobbyists turning a name into binary for a puzzle, a tattoo or an engraved gift. Conversion updates as you type, so you can watch the output grow character by character rather than pressing a button. The mechanism rests on character codes. ASCII assigned a number to every letter, digit and punctuation mark: capital A is 65, lower-case a is 97, the space is 32. Unicode extends the same idea to every script and symbol in use. The converter reads each character's code point and re-expresses that one number in the base you selected. Base-2 gives eight binary digits per byte, conventionally padded with leading zeros so every byte is the same width. Base-16 gives two hex digits per byte, which is why hex is the format used in colour codes and memory dumps. Base-8 gives up to three octal digits, still seen in Unix file permissions. Base-10 is the plain decimal code point. Decoding reverses the process: split the input on spaces, read each group as a number in that base, and map it back to its character. A worked example with three characters. Type Hi! and the converter looks up each code point: H is 72, i is 105, and the exclamation mark is 33. In binary those become 01001000, 01101001 and 00100001, giving 24 bits in total for three characters. In hexadecimal the same three bytes read 48 69 21. In octal they read 110 151 41, and in decimal simply 72 105 33. Notice that the hex form is by far the most compact for a human to transcribe, while binary makes the bit pattern visible — the difference between H at 72 and i at 105 is clear once you see the leading bits change. Specific uses. A first-year computer science student checks their homework by converting a word to binary by hand and comparing against the tool. A developer receiving a garbled API response converts a broken string to hex to see the actual bytes and identify a UTF-8 versus Latin-1 mismatch. A jeweller engraving a wedding date in binary needs the exact bit pattern for eight digits. An electronics hobbyist hard-coding a startup message into a microcontroller needs decimal ASCII values for an array. A puzzle setter hides an answer in a block of binary for a treasure hunt. A network engineer converting a captured packet payload to hex reads the protocol header directly rather than guessing at the field boundaries. A teacher building a worksheet prints five short words in binary and asks the class to decode them by hand. Keep binary grouped in 8-bit bytes separated by spaces, because that is what almost every decoder expects and ungrouped bit strings are ambiguous to read back. The pitfall is Unicode beyond plain ASCII. An accented é or an emoji is not one byte — in UTF-8 it takes two, three or four — so its binary output is longer than you expect and will only decode correctly if the same encoding is assumed on the way back. Copying a multi-byte character's binary into a decoder that assumes single-byte ASCII produces garbage, and that trips up beginners constantly. For plain English text and digits the round trip is exact every time. Conversion runs in your browser, so nothing you paste is uploaded, stored or logged.
Input
Hi!
Result
Binary: 01001000 01101001 00100001 · Hex: 48 69 21 · Octal: 110 151 41 · Decimal: 72 105 33
The code points are H = 72, i = 105 and ! = 33; each number is rewritten in base 2 (padded to 8 bits), base 16, base 8 and base 10, so the three characters produce 24 bits of binary.
Each character has an ASCII/Unicode code number. That number is converted to binary (base-2). For example, 'A' = 65 in decimal = 01000001 in binary. The tool does this for every character and joins the results.
Count words, characters, sentences, paragraphs & reading time. Supports PDF, DOCX, PPTX uploads. Multilingual — works with Hindi, Arabic, Chinese & more.
Text Repeater repeats any text multiple times online for free. Set custom separator and line breaks between repetitions.
Convert text to speech online for free. Multiple voices, adjustable speed and pitch. Listen to any text read aloud in your browser.
Find and replace text online for free. Supports regex, case-sensitive matching, whole word search, and undo history.
Image Resizer changes image dimensions online — set exact pixels, use percentage scaling, or pick from 12 presets (Instagram, Passport, YouTube, etc.). Target specific file sizes like 50KB or 100KB. Batch resize multiple images. 100% free, browser-based.
Image Converter changes images between any format online free — JPG, PNG, WebP, AVIF, PDF, ICO, BMP, HEIC, GIF, SVG. Batch conversion, resize, rotate, flip, AI format recommendation. 100% browser-based, no upload.
Convert JPG to WebP format online free — reduce image file size by 25-35% with identical visual quality. Batch conversion, adjustable quality, lossless mode available. Boost website speed and Core Web Vitals scores. 100% browser-based, no upload needed.
Convert PNG to WebP format online free — reduce file size by 26-34% while preserving full transparency. Batch conversion, lossless and lossy modes, adjustable quality. Boost website performance and Core Web Vitals. 100% browser-based, no upload needed.