Pular para o conteúdo principal

Conversor de Letras em Números

API reference

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

Resultado
 
Isso foi útil?

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_HERE

Cole 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/MCPA 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, so L is 31 and Z is 55. This tool keeps all 26 letters distinct instead: K gets its own code (31), every later letter moves one cell along (L is 32, Y is 55), and Z lands at 56, just off the edge of the grid. Encoding and decoding in this tool round-trip losslessly, but the two systems only agree from A to J. A message tapped out on the traditional grid will decode here with every letter after K shifted one place early (a traditional 32, which is M, comes out as L).

Letter to number chart (A–Z)

The full alphabet in the three numeric codes people look up most. A1Z26 and A0Z25 ignore case, so a and A both give 1 (or 0). ASCII is case-sensitive: uppercase letters run from 65 to 90 and lowercase from 97 to 122, always exactly 32 apart. The binary column is the uppercase ASCII code written as 8 bits; the tool prints the same value with a 0b prefix and without the leading zero (0b1000001 for A).

Letter A1Z26 A0Z25 ASCII (upper / lower) Binary (upper)
A 1 0 65 / 97 01000001
B 2 1 66 / 98 01000010
C 3 2 67 / 99 01000011
D 4 3 68 / 100 01000100
E 5 4 69 / 101 01000101
F 6 5 70 / 102 01000110
G 7 6 71 / 103 01000111
H 8 7 72 / 104 01001000
I 9 8 73 / 105 01001001
J 10 9 74 / 106 01001010
K 11 10 75 / 107 01001011
L 12 11 76 / 108 01001100
M 13 12 77 / 109 01001101
N 14 13 78 / 110 01001110
O 15 14 79 / 111 01001111
P 16 15 80 / 112 01010000
Q 17 16 81 / 113 01010001
R 18 17 82 / 114 01010010
S 19 18 83 / 115 01010011
T 20 19 84 / 116 01010100
U 21 20 85 / 117 01010101
V 22 21 86 / 118 01010110
W 23 22 87 / 119 01010111
X 24 23 88 / 120 01011000
Y 25 24 89 / 121 01011001
Z 26 25 90 / 122 01011010

Worked example: decoding a number code

Say a clue reads 3-15-4-5 9-19 8-9-4-4-5-14. Paste it in, pick A1Z26 and Numbers to text, and set the separator to No separator: you get CODEISHIDDEN, because the spaces between words are read as separators too. Read it as CODE IS HIDDEN. To keep the words apart, decode one group at a time. If a result looks like nonsense, with every letter one step off (BNCD instead of CODE), try A0Z25, where A is 0. Numbers above 26 that stay as numbers usually mean the code is ASCII rather than A1Z26.

What about accented letters and Ñ?

A1Z26 and A0Z25 only number the 26 basic Latin letters. Letters such as é, ü or ñ aren't on that list, so they pass through unchanged. Codes built for the Spanish alphabet often number Ñ as 15, which pushes O to 16 and Z to 27, and they won't match this chart from O onward. In ASCII mode every character gets its Unicode code point, so é becomes 233 and ñ becomes 241.

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.

For other letter codes, try the Morse Code Translator, the Caesar Cipher or the NATO Phonetic Alphabet converter.

a1z26cipherasciitap codeletternumberdecode

Ama as ferramentas? Livre-se dos anúncios.

Um único pagamento remove todos os anúncios da sua conta, para sempre. Sem assinatura, sem rastreamento.