Toolvist

Conversor de texto a octal

Convierte texto a valores octales y de vuelta, con separadores y mayúsculas configurables.

Conversor de texto a octal gratuito

El Conversor de texto a octal convierte texto legible en valores de bytes octales y de vuelta. Elige tu separador y maneja correctamente los caracteres UTF-8 multibyte.

The related conversions are the Text to Unicode Converter and the Number Base Converter, and Unicode to Text Converter reverses this in the other direction. If the octal came from a file dump, the Hex to Text Converter reads the neighbouring representation.

Cómo usar Texto a octal

  1. 1 Paste the text you want converted into the input area.
  2. 2 Choose whether each character is separated by a space and whether the leading zero is included.
  3. 3 Select a base for the surrounding format if the output needs to be pasted into code as an escape sequence.
  4. 4 Copy the converted result.

Cómo usarlo

Escribe texto en el cuadro izquierdo para ver sus bytes octales a la derecha, o cambia al modo decodificar para convertir octal de vuelta a texto.

  • Bidireccional: texto a octal y octal a texto
  • Opciones de separador: espacio, coma, ninguno, prefijo de barra invertida
  • Maneja caracteres UTF-8 multibyte
  • El botón Intercambiar invierte la dirección con un clic
  • Se ejecuta enteramente en tu navegador

Preguntas frecuentes

What is an octal escape actually for?

Octal notation is how many traditional Unix tools write non-printable characters. A space in a filename, for example, is conventionally written as its octal escape so the shell treats it as part of the name rather than as a separator. That heritage is why octal survives in command-line contexts long after every other part of computing moved to hexadecimal.

How does one character become three digits?

Because each character is a code point, and its value is expressed in base eight. A byte needs eight bits, and eight bits is at most three octal digits — 377 is the largest. So a Latin-1 character always maps to a three-digit octal number, and the leading zero is only a convention to make the width uniform.

Does this handle characters outside the ASCII range?

Yes, by encoding them as UTF-8 first and converting each byte. That is why an accented letter or an emoji becomes several octal groups rather than one — it genuinely occupies more than one byte in UTF-8, and the escape sequence must reflect that or the resulting bytes will not decode to the character you started with.

Herramientas de texto relacionadas

Ver todo en Herramientas de texto →

También te puede interesar

Herramientas de otras categorías que suelen combinarse con Texto a octal:

Explorar el directorio completo →