Conversor de Letras em Números
Converta letras em números e vice-versa usando código A1Z26, A0Z25, ASCII, hexadecimal, binário ou tap code — um decodificador rápido para quebra-cabeças, cifras e escape rooms.
Entrada
Configurações de conversão
Saída
Mais formas de usar esta ferramenta
API REST
curl -X POST https://api.iotools.cloud/v1/tool/letter-to-number-converter \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "Hello World!",
"codeType": "a1z26",
"direction": "text_to_number",
"separator": "space"
}'Troque pela sua própria chave, da sua conta. Os campos da ferramenta viram o corpo da requisição — sem envelope.
Peça a um agente de IA
Use the IOTools `letter-to-number-converter` tool (Letter to Number Converter) on this input:
YOUR_INPUT_HERECole isto em qualquer agente conectado ao servidor MCP do IOTools e depois adicione sua entrada.
Widget para incorporar
<iframe
src="https://iotools.cloud/embed/letter-to-number-converter/"
width="100%" height="520" frameborder="0" scrolling="no" loading="lazy"
title="Conversor de Letras em Números — iotools.cloud"
sandbox="allow-scripts allow-forms allow-same-origin allow-downloads allow-popups allow-popups-to-escape-sandbox"
allow="clipboard-write"
style="width:100%;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden"></iframe>
<script src="https://iotools.cloud/embed.js" async></script>Coloque isso na sua própria página — grátis, sem chave, só um link de volta.
| Custo por chamada de API/MCP | A partir de 5 créditos |
|---|---|
| Precisa de mais créditos? | Ver preços |
Também disponível via
Guias
What this tool does
It swaps letters for numbers, and numbers back into letters, using six different schemes. Puzzle hunters, escape-room designers, geocachers and cryptography students all run into these codes; this converter handles them in one place, in both directions.
The six code types
A1Z26 is the classic: A = 1, B = 2, all the way to Z = 26. It shows up constantly in puzzle boxes and treasure hunts.
A0Z25 is the same idea offset by one, so A = 0. It's the form you want when the puzzle is really about modular arithmetic.
ASCII gives each character its numeric code point — H is 72, the space character is 32, ! is 33. Unlike the alphabet codes, ASCII covers punctuation and digits too.
Hex ASCII and Binary ASCII are the same code points written in base 16 (0x48) and base 2 (0b1001000). Handy when you're staring at a hex dump.
Tap code, also called knock code, lays the alphabet on a grid and encodes each letter as row-then-column: A is 11, H is 23. Prisoners of war famously used it to tap messages through walls.
The traditional tap code uses a 5×5 grid, which only holds 25 letters — K is dropped and written as C. This tool keeps all 26 letters distinct instead, giving K its own code (31) and placing Z at 56, just off the edge of the grid. Encoding and decoding therefore round-trip losslessly, but a purist's 5×5 grid won't decode a 56.
How to use it
Paste your text, pick a code type, choose a direction, and pick how the output should be separated. The result updates as you type.
What happens to spaces and punctuation?
Anything the code can't map passes straight through. In A1Z26, Hi! becomes 8 9 ! — the exclamation mark survives as itself. That's intentional and matches how these puzzles are usually written down, but it does mean word boundaries are preserved as literal spaces in the output.
When decoding, the tool accepts numbers separated by spaces, commas or dashes. Tap code is the exception: it splits on spaces and commas only, because a dash would tear a 11-12 pair in half.
Is my text sent anywhere?
No. The conversion runs entirely in your browser — nothing is uploaded, logged or stored.