[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"glossary:en":3,"tool-content:en:binary-converter":4,"published-tools-en":64},[],{"id":5,"documentId":6,"slug":7,"intro":8,"howTo":9,"longContent":10,"createdAt":11,"updatedAt":12,"publishedAt":13,"locale":14,"name":15,"faq":16,"examples":37,"category":38,"seo":48,"localizations":53,"metaTitle":50,"metaDescription":51},210,"tqlclk10kgi2oky2waloed1j","binary-converter","\u003Cp>This \u003Cstrong>binary converter\u003C\u002Fstrong> translates text into binary code and binary back into text, byte by byte. It also turns decimal numbers into base 2, detects what you typed, and shows how the bits of the first byte add up.\u003C\u002Fp>","\u003Col>\u003Cli>Type text, a number or a binary string into the field.\u003C\u002Fli>\u003Cli>Let auto-detect pick the direction, or set a mode like number to binary.\u003C\u002Fli>\u003Cli>Read the result at once, with each 8-bit byte separated by a space.\u003C\u002Fli>\u003Cli>Copy the output or download it as a text file.\u003C\u002Fli>\u003C\u002Fol>","\u003Ch2 id=\"text-to-binary\">How does text become binary?\u003C\u002Fh2>\n\u003Cp>A computer stores text as numbers. Each character maps to a code point, and that code point is written in base 2, using only 0s and 1s. This binary translator uses \u003Cstrong>UTF-8\u003C\u002Fstrong>, the encoding behind most of the web, where every ASCII character takes exactly \u003Cstrong>one byte of 8 bits\u003C\u002Fstrong> and accented or non-Latin characters take 2 to 4 bytes.\u003C\u002Fp>\n\u003Cp>Take the word Hi. The letter H has code 72, which is \u003Cstrong>01001000\u003C\u002Fstrong> in binary, and the letter i has code 105, which is 01101001. So Hi in binary reads 01001000 01101001. To decode it, split the string into 8-bit bytes, read each byte as a number, then look up the character.\u003C\u002Fp>\n\u003Ch2 id=\"reading-a-byte\">How do you read a byte?\u003C\u002Fh2>\n\u003Cp>A byte holds 8 bits, and each position carries a weight: \u003Cstrong>128, 64, 32, 16, 8, 4, 2 and 1\u003C\u002Fstrong>, from left to right. Add the weights of the bits set to 1 to get the value. For 01001000, the second bit (64) and the fifth bit (8) are on, and \u003Cstrong>64 + 8 = 72\u003C\u002Fstrong>, the code for H. The tool draws this table for the first byte of your conversion so you can check the math yourself.\u003C\u002Fp>\n\u003Ch2 id=\"number-vs-text\">Numbers or text: what is the difference?\u003C\u002Fh2>\n\u003Cp>Converting the number 42 and converting the text 42 are two different jobs. As a number, 42 in base 2 is \u003Cstrong>101010\u003C\u002Fstrong> (32 + 8 + 2). As text, 42 is two characters: the digit 4 (code 52, 00110100) and the digit 2 (code 50, 00110010). Auto-detect reads a digits-only input as a number, so pick the text to binary mode when you want the character bytes instead.\u003C\u002Fp>\n\u003Ch3>What does auto-detect do?\u003C\u002Fh3>\n\u003Cp>The rules stay simple. An input of only 0s, 1s and spaces whose bit count is a \u003Cstrong>multiple of 8\u003C\u002Fstrong> is decoded as binary text. An input of only digits is converted as a decimal number. Anything else is encoded as UTF-8 text.\u003C\u002Fp>\n\u003Ch2 id=\"common-chars\">What do common characters look like in binary?\u003C\u002Fh2>\n\u003Ctable>\u003Cthead>\u003Ctr>\u003Cth>Character\u003C\u002Fth>\u003Cth>Decimal\u003C\u002Fth>\u003Cth>Binary\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\n\u003Ctbody>\n\u003Ctr>\u003Ctd>A\u003C\u002Ftd>\u003Ctd>65\u003C\u002Ftd>\u003Ctd>01000001\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>a\u003C\u002Ftd>\u003Ctd>97\u003C\u002Ftd>\u003Ctd>01100001\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>0\u003C\u002Ftd>\u003Ctd>48\u003C\u002Ftd>\u003Ctd>00110000\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Space\u003C\u002Ftd>\u003Ctd>32\u003C\u002Ftd>\u003Ctd>00100000\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>!\u003C\u002Ftd>\u003Ctd>33\u003C\u002Ftd>\u003Ctd>00100001\u003C\u002Ftd>\u003C\u002Ftr>\n\u003C\u002Ftbody>\u003C\u002Ftable>\n\u003Cp>Notice the pattern: the uppercase and lowercase versions of a letter differ by exactly \u003Cstrong>one bit\u003C\u002Fstrong>, the 32 weight, which is why case conversion costs a processor almost nothing. For every code from 0 to 127, see the ASCII table reference page.\u003C\u002Fp>\n\u003Ch2 id=\"invalid\">Why will some binary not decode?\u003C\u002Fh2>\n\u003Cp>Not every sequence of bytes is valid UTF-8. The byte \u003Cstrong>11111111\u003C\u002Fstrong> (255), for one, never appears in UTF-8 text, so the tool flags it instead of printing garbage. If your binary came from a number rather than text, decode it with the binary to number mode, where 11111111 is simply 255.\u003C\u002Fp>","2026-07-17T11:47:03.684Z","2026-07-17T14:55:46.134Z","2026-07-17T14:55:47.213Z","en","Binary Converter",[17,21,25,29,33],{"id":18,"question":19,"answer":20},1139,"How do I translate text to binary?","\u003Cp>Type your text in the field and the converter encodes it as UTF-8, one byte per ASCII character, printed as 8-bit groups. So Hi becomes \u003Cstrong>01001000 01101001\u003C\u002Fstrong>.\u003C\u002Fp>",{"id":22,"question":23,"answer":24},1140,"How do I convert binary back to text?","\u003Cp>Paste the binary string, with or without spaces. As long as the bit count is a multiple of 8, the tool splits it into bytes and decodes them as UTF-8 for you.\u003C\u002Fp>",{"id":26,"question":27,"answer":28},1141,"Why does 42 give 101010 and not two bytes?","\u003Cp>Auto-detect reads a digits-only input as a decimal number, and 42 in base 2 is 101010. To encode the digits as text characters, pick the text to binary mode, which gives 00110100 00110010.\u003C\u002Fp>",{"id":30,"question":31,"answer":32},1142,"Does it handle accents and emoji?","\u003Cp>Yes. The converter uses UTF-8, so a character like é becomes two bytes (11000011 10101001) and an emoji takes four. Decoding puts them back together correctly.\u003C\u002Fp>",{"id":34,"question":35,"answer":36},1143,"Why do I get an invalid UTF-8 error?","\u003Cp>Some byte values never occur in UTF-8 text, such as 11111111. Your input is valid binary but not valid text. Try the binary to number mode instead, which reads it as the number 255.\u003C\u002Fp>",[],{"id":39,"documentId":40,"uid":41,"name":42,"tagline":43,"hubContent":44,"createdAt":45,"updatedAt":46,"publishedAt":47,"locale":14},19,"nk5esc49yvildfg1590op901","conversion","Conversion","Free converters for numbers, units and text formats.","\u003Cp>Every converter in this category runs in your browser, so your data never leaves your device. Each tool answers as you type, shows how it got there and lets you copy or download the result. Under every converter we keep a short guide with the rules it applies and the edge cases worth knowing before you trust a result.\u003C\u002Fp>","2026-07-17T11:46:43.618Z","2026-07-17T12:29:12.484Z","2026-07-17T12:29:12.872Z",{"id":49,"metaTitle":50,"metaDescription":51,"keywords":52,"metaRobots":52,"structuredData":52,"metaViewport":52,"canonicalURL":52},261,"Binary Converter: Text to Binary and Binary to Text","Translate text to binary and binary to text (UTF-8), or convert numbers to and from base 2. Free and instant, with automatic detection of your input.",null,[54],{"id":55,"documentId":6,"slug":7,"intro":56,"howTo":57,"longContent":58,"createdAt":59,"updatedAt":60,"publishedAt":61,"locale":62,"name":63},164,"\u003Cp>Ce \u003Cstrong>convertisseur binaire\u003C\u002Fstrong> traduit du texte en code binaire et du binaire en texte, octet par octet. Il transforme aussi les nombres décimaux en base 2, détecte votre saisie et montre comment les bits du premier octet s'additionnent.\u003C\u002Fp>","\u003Col>\n\u003Cli>Saisissez du texte, un nombre ou une chaîne binaire dans le champ.\u003C\u002Fli>\n\u003Cli>Laissez la détection automatique choisir le sens ou fixez un mode comme nombre vers binaire.\u003C\u002Fli>\n\u003Cli>Lisez le résultat aussitôt, chaque octet de 8 bits séparé par une espace.\u003C\u002Fli>\n\u003Cli>Copiez la sortie ou téléchargez-la en fichier texte.\u003C\u002Fli>\n\u003C\u002Fol>","\u003Ch2 id=\"texte-binaire\">Comment le texte devient-il du binaire ?\u003C\u002Fh2>\n\u003Cp>Un ordinateur stocke le texte sous forme de nombres, chaque caractère correspondant à un code qui s'écrit ensuite en base 2 avec uniquement des 0 et des 1. Ce traducteur binaire utilise \u003Cstrong>UTF-8\u003C\u002Fstrong>, l'encodage qui fait tourner la majorité du web, où chaque caractère ASCII occupe exactement \u003Cstrong>un octet de 8 bits\u003C\u002Fstrong> tandis que les caractères accentués ou non latins en occupent 2 à 4.\u003C\u002Fp>\n\u003Cp>Prenez le mot Hi, dont la lettre H porte le code 72, soit \u003Cstrong>01001000\u003C\u002Fstrong> en binaire, quand la lettre i porte le code 105, soit 01101001. Hi s'écrit donc 01001000 01101001, une chaîne qu'on décode en la découpant en octets de 8 bits, chaque octet lu comme un nombre puis reconverti en caractère.\u003C\u002Fp>\n\u003Ch2 id=\"lire-octet\">Comment lire un octet ?\u003C\u002Fh2>\n\u003Cp>Un octet compte 8 bits et chaque position porte un poids : \u003Cstrong>128, 64, 32, 16, 8, 4, 2 et 1\u003C\u002Fstrong>, de gauche à droite. Additionnez les poids des bits à 1 pour obtenir la valeur. Pour 01001000, le deuxième bit (64) et le cinquième (8) sont actifs, ce qui donne \u003Cstrong>64 + 8 = 72\u003C\u002Fstrong>, le code de H. L'outil dessine cette table pour le premier octet de votre conversion, de quoi vérifier le calcul vous-même.\u003C\u002Fp>\n\u003Ch2 id=\"nombre-texte\">Nombre ou texte : quelle différence ?\u003C\u002Fh2>\n\u003Cp>Convertir le nombre 42 et convertir le texte 42 sont deux opérations différentes. En tant que nombre, 42 en base 2 donne \u003Cstrong>101010\u003C\u002Fstrong> (32 + 8 + 2). En tant que texte, 42 représente deux caractères : le chiffre 4 (code 52, 00110100) et le chiffre 2 (code 50, 00110010). La détection automatique lit une saisie composée uniquement de chiffres comme un nombre, donc choisissez le mode texte vers binaire pour obtenir les octets des caractères.\u003C\u002Fp>\n\u003Ch3>Que fait la détection automatique ?\u003C\u002Fh3>\n\u003Cp>Les règles de la détection tiennent en trois cas simples. Une saisie faite uniquement de 0, de 1 et d'espaces dont le nombre de bits est un \u003Cstrong>multiple de 8\u003C\u002Fstrong> est décodée comme du texte binaire. Une saisie faite uniquement de chiffres est convertie comme un nombre décimal, tout le reste étant encodé comme du texte UTF-8.\u003C\u002Fp>\n\u003Ch2 id=\"caracteres-courants\">À quoi ressemblent les caractères courants en binaire ?\u003C\u002Fh2>\n\u003Ctable>\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Caractère\u003C\u002Fth>\n\u003Cth>Décimal\u003C\u002Fth>\n\u003Cth>Binaire\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\n\u003Ctr>\n\u003Ctd>A\u003C\u002Ftd>\n\u003Ctd>65\u003C\u002Ftd>\n\u003Ctd>01000001\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>a\u003C\u002Ftd>\n\u003Ctd>97\u003C\u002Ftd>\n\u003Ctd>01100001\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>0\u003C\u002Ftd>\n\u003Ctd>48\u003C\u002Ftd>\n\u003Ctd>00110000\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Espace\u003C\u002Ftd>\n\u003Ctd>32\u003C\u002Ftd>\n\u003Ctd>00100000\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>!\u003C\u002Ftd>\n\u003Ctd>33\u003C\u002Ftd>\n\u003Ctd>00100001\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\n\u003C\u002Ftable>\n\u003Cp>Remarquez le motif : la majuscule et la minuscule d'une même lettre ne diffèrent que d'\u003Cstrong>un seul bit\u003C\u002Fstrong>, celui de poids 32, ce qui explique pourquoi changer la casse coûte si peu à un processeur. Pour la liste complète des codes de 0 à 127, consultez la page de référence table ASCII.\u003C\u002Fp>\n\u003Ch2 id=\"invalide\">Pourquoi certains binaires ne se décodent-ils pas ?\u003C\u002Fh2>\n\u003Cp>Toutes les suites d'octets ne forment pas de l'UTF-8 valide. L'octet \u003Cstrong>11111111\u003C\u002Fstrong> (255), par exemple, n'apparaît jamais dans du texte UTF-8, donc l'outil le signale au lieu d'afficher des caractères aberrants. Si votre binaire représente un nombre et non du texte, utilisez le mode binaire vers nombre, où 11111111 vaut simplement 255.\u003C\u002Fp>","2026-07-17T11:47:04.383Z","2026-07-17T12:54:46.529Z","2026-07-17T12:54:47.436Z","fr","Convertisseur binaire",{"slugs":65},[66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,7,85],"age-calculator","average-calculator","cd-calculator","concrete-calculator","cursive-font-generator","date-calculator","fantasy-name-generator","final-grade-calculator","fraction-calculator","glitch-text-generator","gpa-calculator","grade-calculator","hex-converter","hours-calculator","interest-calculator","military-time-converter","roman-numeral-converter","password-generator","kg-to-lbs-converter","celsius-to-fahrenheit-converter"]