Binary Code PDF & Document Translator — Text to Binary from Files, Photos & Scans

Turn the text of a Word file, PDF, slide deck, worksheet, photo or screenshot into 8-bit binary while keeping the page layout. Upload the file, keep Binary Code as the target, and download the encoded document. For exact, character-by-character binary of text you can paste, the binary text tool converts instantly.

Loading credits…

How Binary Code documents come out

Upload a Word file, PDF, slide deck, worksheet, photo or screenshot and get its text back as 8-bit binary, with the page layout kept: a note or letter to hand over as a puzzle, a coding-class worksheet, an escape-room clue, a poster or a birthday card. Binary is an encoding of text rather than a language, so the result is the same characters written as ones and zeros. For text you can type or paste, the binary text tool converts instantly and exactly; this page is for files and pictures.

Binary here means the bytes of the text written out in base two, eight digits per byte with a space between bytes: H is 01001000 and i is 01101001, so Hi becomes 01001000 01101001. The scheme is ASCII for plain English letters, digits and punctuation and UTF-8 for everything else, which means an accented letter takes two bytes (é is 11000011 10101001), most Chinese characters three and an emoji four. The text tool applies exactly that and also offers hexadecimal and decimal modes. In document mode the encoding is done by the translation engine rather than a fixed converter: it reads the page, works out what is text, and writes the binary block by block. So spot-check it: pick a word from the output, decode it on the text tool and confirm it matches. Two things about size. Binary is roughly eight to nine times longer than the text it encodes, so a paragraph becomes a wall of digits and a page becomes several; short passages come out cleaner and are what nearly everyone wants. And because the layout is kept, a heading or a table cell that held five words now has to hold forty, so type gets smaller and lines wrap. Photos and screenshots go through text recognition first, and the digits are only as good as that reading.

Translate your document and keep its structure

The translator keeps your file’s structure while translating the text in context. The downloaded format depends on the source file.

PDFs and scanned pages
The translated PDF follows the page visually, with translated pages rendered as images. Selectable PDF text and identical fonts are not guaranteed.
Word documents and PowerPoint presentations
Start with DOCX or PPTX when you have it. Native paragraphs, table text and slide text can stay editable in the corresponding file format. Translated text inside pictures remains image content; review text wrapping and font changes in your editor.
Excel workbooks and EPUB books
Use the original XLSX or unprotected EPUB for a translated workbook or ebook. Review formulas, numbers and text cells in a workbook; check chapter order, navigation and text flow in your ebook reader.

What people translate to and from Binary Code

Puzzle notes, gifts and escape-room clues

The most common upload is a short personal text: a note or letter for a partner or a child to decode, a clue card for a treasure hunt or an escape room, a line hidden in a party invitation. Keep the passage short, since a sentence of binary already fills a card and a page fills several, and give the solver the two facts they need: eight digits per character, and a standard ASCII table (A is 01000001, a is 01100001, a space is 00100000). Before you print, decode a line on the text tool to be sure every byte is there; a single missing digit shifts everything after it into nonsense, which is a frustrating puzzle rather than a hard one.

Coding homework and classroom worksheets

Teachers encode a worksheet, a set of words for students to decode by hand, or a slide deck for a lesson on how computers store text, and students upload an exercise to check their own answers. The worksheet keeps its numbering and tables, and a PowerPoint stays editable. For an answer key, the text tool is the exact reference: it encodes and decodes with the same UTF-8 rules a computer uses and shows the hexadecimal and decimal forms of the same bytes, which is a useful side-by-side for the lesson. A document is the right choice when the material already exists as a file with formatting you want to keep.

Decoding a photo or screenshot of binary

A CTF challenge image, a worksheet answer, a screenshot from a game or a photo of a friend's encoded note is a real but harder case, and honesty is due. The reading step is the weak link: in a photo, 0 and O and 1, l and I look alike, and one wrong digit in a byte changes the letter. Beyond that, a line that consists only of digits is treated by the document translator as a number or a code and left as it is, so decoding from a file is not something to count on. The reliable path is to type or paste the digits into the text tool, which decodes exactly, ignores stray characters and copes with missing spaces by cutting the stream into eight-digit groups.

Posters, slides and design mockups

Binary as decoration is everywhere in tech: a poster background, a T-shirt, a conference slide, a product mockup. Encoding a real message properly, rather than typing random ones and zeros, is a detail people notice, and a document with the text in place lets you keep the design's layout while the words become digits. A PPTX comes back editable, so you can restyle the binary in a monospace font, which is where it looks right; a PDF comes back as page images. Expect the block to be far longer than the text it replaces, so plan the space, or encode a single short line rather than a paragraph.

What to watch for in Binary Code document translation

The traps are all about exactness. Every byte must be eight digits, so a 7-digit group means a leading zero was dropped and everything after it shifts; spaces between bytes are what make the stream readable, and a line that wraps mid-byte in a narrow column can be misread as two bytes. Case matters (A is 01000001, a is 01100001), punctuation and spaces are encoded too (a space is 00100000), and a line break is its own byte, which is why a decoded text sometimes runs together. Numbers, names, web addresses and code-like strings are the parts a translation engine is trained to leave alone, so check that they were encoded rather than copied, and if you want them readable, keep them on their own line. In photos, 0 and O and 1, l and I are the classic confusions, and a screenshot at low resolution loses the difference between 0 and 8. Accented letters and emoji are multi-byte, and a solver decoding by hand with an ASCII table will not know that. Finally, length: a page of prose becomes several pages of digits, and the layout that is kept has to absorb that, so encode the line that matters, not the whole letter, and verify a sample on the text tool.

Binary Code document translation FAQ

Is the binary code document translator free?
You can try it free, with no account needed, and signing in gives you a larger daily allowance. Pro and Scholar are there for longer documents and regular use.
Can it decode a photo or screenshot of 0s and 1s back into text?
Not reliably, for two reasons. Text recognition confuses 0 with O and 1 with l or I, and a single wrong digit changes a letter. And a line made only of digits is treated as a number or a code and returned as it is, so an all-binary worksheet can come back untouched. Type or paste the digits into the binary text tool instead: it decodes exactly, strips anything that is not a 0 or 1, and splits an unspaced stream into eight-digit bytes. Save this page for encoding text that lives in a file or a picture.
How accurate is it? What is the difference between Fast and Advanced?
For encoding, exactness is the whole point, and only the text tool is exact by construction. In document mode both tiers write the binary through the translation engine. Fast is fine for a short, clean passage such as a card or a clue; Advanced runs a frontier model and is the choice for longer or messier files, where a dropped bit ruins every byte after it. Either way, decode a sample line on the text tool before you print or send, and do not expect a blurry photo to produce clean digits.
Will the encoded file keep my document's layout?
The translator produces a PDF, Word, PowerPoint, Excel or EPUB file that aims to preserve the original layout, including tables, columns and headers. Binary is eight to nine times longer than the text, so this is the one conversion where the layout is under real strain: type shrinks, lines wrap and a short heading becomes a block. Text size, fonts and line breaks may change, so review the result against the original, and prefer short passages.
Is it ASCII or UTF-8? What happens to accents, symbols and emoji?
Both, because ASCII is the first part of UTF-8: unaccented letters, digits and ordinary punctuation are one byte each, and everything else is encoded as UTF-8, so é takes two bytes, a Chinese character usually three and an emoji four. A decoder that expects one byte per character will show those as odd symbols rather than the intended letter, which is worth telling a puzzle solver. If a word should stay plain (a name the solver needs to read, for example), leave it in a separate line or cell.
Can I get hexadecimal or decimal instead, or encode a document in another language?
Hexadecimal and decimal versions of the same bytes are on the binary text tool, which switches between the three. Text in other languages is encoded as its own characters (their UTF-8 bytes), not translated into English first; if you want the English, translate the document into English first and encode the result.
What file types can I upload?
PDF, DOCX (Word), PPTX (PowerPoint), XLSX (Excel) and EPUB, plus photographed or scanned pages as JPG, PNG or HEIC. Free and Pro accept up to 20MB and 100,000 extracted characters per file; Scholar accepts up to 50MB and 1,000,000 characters. Because the output is many times longer than the input, a short document is the right size for this page.

See “Keep formatting” in action

Real examples of the “Keep formatting” option: original on the left, translated document on the right. Click either page to enlarge.

1 / 6

Original

Translation

A civil complaint filed in Mexico City, Spanish to English. Caption block, numbered pleadings, the evidence table and the signature block all keep their places.

Original

Translation

An Italian birth certificate, photographed rather than scanned. The framed masthead, the field grid, the marginal annotations and the round seal all hold their positions.

Original

Translation

A handwritten archaeological field notebook from 1974. The engine reads the hand and keeps the ruled inventory table intact.

Original

Translation

A German hospital discharge summary. Diagnoses with ICD codes, lab values and the medication table survive the translation unchanged.

Original

Translation

A 1747 parish baptism register in Latin. Ruled columns, godparents and marginal notes stay aligned, so the genealogy still reads as a register.

Original

Translation

A scanned 17th-century Italian index of sermons. Two columns of dense small print, translated in place.

Translate documents in other languages

Bohairic Coptic documentsBreton documentsBraille documentsChechen documentsCherokee documentsCuneiform documentsCursive documentsGerman documentsEgyptian Hieroglyphs documentsGreek documentsBinary Code text translatorAll document translation