Conversor de texto ↔ binario / hexadecimal
Convierte texto a bytes binarios o hexadecimales y viceversa, con UTF-8 correcto. Todo el procesamiento ocurre en tu navegador; tus datos nunca se envían al servidor.
Text is bytes, and bytes are numbers — binary and hexadecimal are just two ways of writing those numbers down. Being able to see them matters when you are debugging an encoding problem, reading a protocol dump, or working out why a string that looks right compares as different. This converter goes both ways and handles UTF-8 correctly.
Cómo usarlo
- Paste your text and press Text → Binary or Text → Hex.
- Each byte appears separated by a space, binary padded to 8 bits and hex to 2 digits, which is how dumps are conventionally written.
- To go the other way, paste space-separated values and press the matching decode button.
- The counter tells you the byte length — useful for spotting that an accented character costs two bytes in UTF-8, not one.
Preguntas frecuentes
- Why does one character produce more than one byte?
- UTF-8 is variable width. ASCII characters take one byte, most Latin accented and Greek or Cyrillic letters take two, most CJK take three, and emoji take four.
- Does it accept input without spaces?
- No, values must be space-separated. Without separators there is no reliable way to know where one byte ends and the next begins.
- Is this the same as Base64?
- No. Hex and binary show the raw bytes and always grow the data. Base64 packs bytes into a text-safe alphabet with about 33 percent overhead — use the Base64 tool for that.
- Can it convert binary files?
- Not directly; this tool takes text input. Paste a hex dump of the file if you already have one.