Binary ↔ Text Translator — Binary, Hex & Decimal

Auto-detecting converter between text and binary, hex, or decimal bytes (UTF-8).

Quick answer: Translate text to binary, hex, or decimal codepoints and back again, with auto-detection, UTF-8 support, and byte counts — all offline in your browser.

How to use

  1. Paste text to encode, or binary/hex/decimal code to decode.
  2. Leave the mode on Auto-detect or force a direction from the dropdown.
  3. Copy the result — the byte count shows in the status line.

About this tool

One box, every direction: paste plain text and encode it to 8-bit binary, hexadecimal, or decimal byte values; paste any of those three back in and the auto-detector figures out what you gave it and decodes to text. Manual override selects force a specific interpretation when you know better than the heuristic — useful for hex strings like “babe” or decimal lists that could also look like something else. Encoding uses the browser's UTF-8 TextEncoder, so emoji, accents, and non-Latin scripts convert correctly with an honest byte count (that emoji costs four bytes) instead of the old ASCII-only lie. Computer-science students, embedded developers reading UART dumps, and the terminally curious all get instant answers; every conversion happens locally with no network call at all. Your file never leaves this page — processing runs entirely in your browser; nothing is uploaded and the data is dropped from memory when you close the tab.

FAQ

How does auto-detect decide?
If every token is 0/1 groups it decodes as binary; if every token fits two hex digits it decodes as hex; if every token is 0-255 it decodes as decimal; otherwise it treats the input as text and encodes to binary.
What encoding do you assume for text?
UTF-8, via the browser's native TextEncoder/TextDecoder — multi-byte characters like é or 😀 encode and decode correctly, and the byte count reflects their real size.
Do the binary groups need spaces?
Groups of up to 8 bits separated by spaces work best; the decoder pads short groups on the left, but 8-bit space-separated output is the canonical form it produces.
Why did my hex word decode weirdly?
Two-letter words like babe or dead are valid hex, so auto-detect reads them as bytes — switch the mode to 'Text → encode' to force the other reading.
Is anything uploaded?
Never — Your file never leaves this page — processing runs entirely in your browser; nothing is uploaded and the data is dropped from memory when you close the tab.

Rate this tool

Your rating stays in this browser (local storage) — nothing is sent to any server.

Related tools

🔢

Word Counter

Text Tools

Aa

Case Converter

Text Tools

🧰

Text Toolkit

Text Tools

📚

Citation Generator

Text Tools

📝

Lorem Ipsum Generator

Text Tools

🔀

Text Diff Checker

Text Tools

🪪

Fake Name Generator

Text Tools

🏠

Fake Address Generator

Text Tools

📄

ATS Resume Scanner

Text Tools

Fancy Text Generator

Text Tools

🔊

Text to Speech

Text Tools

🔄

Reverse Text Generator

Text Tools

🧹

Duplicate Line Remover

Text Tools

📊

Word Frequency Counter

Text Tools

⏱️

Reading Time Calculator

Text Tools

🛡️

Plagiarism Checker

Text Tools

🧬

Text Similarity Checker

Text Tools

✍️

Paraphrasing Tool

Text Tools

📚

Study Time Planner (exam countdown)

Text Tools

✍️

Word Count ⇄ Pages Converter (font-aware)

Text Tools

🎓

Thesis Timeline Back-Planner

Text Tools

APA/MLA In-Text Citation Quick Generator

Text Tools

🃏

Flashcard Maker (print-ready, no account)

Text Tools

✉️

Cover Letter Generator (structured draft)

Text Tools

🚪

Resignation Letter Generator

Text Tools

Interview Answer Builder (STAR method)

Text Tools

🤝

Reference Request Email Generator

Text Tools

Career Gap Explanation Generator

Text Tools

🔏

Basic NDA Template Generator

Text Tools

📄

Freelance Contract Template Generator

Text Tools

🏠

Roommate Agreement Generator

Text Tools

🐾

Pet Co-Ownership Care Agreement

Text Tools

✍️

Grammar & Spell Checker

Text Tools

🌐

Text Translator

Text Tools

🔁

Synonym & Antonym Finder

Text Tools

🎵

Rhyme Finder

Text Tools

📄

Resume Builder

Text Tools

🤖

AI Text Detector

Text Tools

🧑

AI Text Humanizer

Text Tools

📝

Text Summarizer

Text Tools

🎙️

Speech to Text

Text Tools

⌨️

Typing Speed Test

Text Tools

📡

Morse Code Translator

Text Tools

🧠

YouTube Video Summarizer

Text Tools

📚

AI Essay/Article Generator

Text Tools

📖

AI Story Generator

Text Tools

✉️

AI Email Writer

Text Tools

✍️

Text to Handwriting

Text Tools

📄

One-Page Resume Builder

Text Tools

📝

Online Notepad

Text Tools

🔍

Dictionary Lookup

Text Tools

🔤

NATO Alphabet Translator

Text Tools

📝

Sentence Counter

Text Tools

🧩

Word Unscrambler

Text Tools

🟩

Wordle Solver

Text Tools

😀

Emoji Translator

Text Tools

🎲

Random Word Generator

Text Tools

🔢

Character Counter

Text Tools

✍️

Writing Prompt Generator

Text Tools