Zero Signup ToolsFree browser tools

Converter Tools

Excel Column Letter Converter

Convert spreadsheet column letters and column numbers in your browser. Bidirectional, batch mode, zero-based index, and a reference chart from A to XFD.

The direction is detected automatically. Type column letters (A, AB, XFD) to get the column number, or type a positive whole number to get the column letters.

Result

Enter a value above. Conversion runs as you type.

Column reference chart

The first 26 columns, the rollover into double letters, and the Excel ceiling at column XFD (16,384).

A to Z (1 to 26)

  • 1A
  • 2B
  • 3C
  • 4D
  • 5E
  • 6F
  • 7G
  • 8H
  • 9I
  • 10J
  • 11K
  • 12L
  • 13M
  • 14N
  • 15O
  • 16P
  • 17Q
  • 18R
  • 19S
  • 20T
  • 21U
  • 22V
  • 23W
  • 24X
  • 25Y
  • 26Z

Around the rollover

  • 27AA
  • 28AB
  • 29AC
  • 30AD
  • 50AX
  • 52AZ
  • 53BA
  • 100CV
  • 200GR
  • 500SF
  • 702ZZ
  • 703AAA

Toward the Excel limit

  • 1,000ALL
  • 1,024AMJ
  • 2,048BZT
  • 4,096FAN
  • 5,000GJH
  • 10,000NTP
  • 16,000WQJ
  • 16,383XFC
  • 16,384XFD

Why is this not just base 26? Excel columns use bijective base-26: there is no zero digit. The single-letter range A..Z covers columns 1 to 26, then AA..ZZ covers 27 to 702, then AAA..ZZZ covers 703 to 18,278, and so on. The math is similar to base 26 but with a subtract-by-one step that keeps every position valued at least 1.

Excel vs. Google Sheets: Excel and the .xlsx format cap at column XFD (16,384). Google Sheets shares the same lettering scheme but allows more columns when the limit is raised. Switch on Allow beyond Excel max to convert past XFD.

Zero-based vs. one-based: Excel and the COLUMN() function are 1-based (A is 1). Many libraries (openpyxl, ExcelJS, pandas DataFrame.iloc) are 0-based (A is 0). The single mode shows both so you do not have to subtract 1 in your head.

How to use

  1. Type a column letter (A, AB, XFD) or a column number (1, 28, 16384) into the input. The tool detects which way to convert.
  2. Read the column letters, the one-based column number, and the zero-based index side by side, each with its own Copy button.
  3. Use the quick buttons to jump to common values like A, Z, AA, ZZ, AAA, or the Excel maximum XFD.
  4. Switch on Allow beyond Excel max if you are working with Google Sheets or another tool that allows more than 16,384 columns.
  5. Switch to Batch mode and paste a column of values from a spreadsheet to convert many lines at once. Mixed letters and numbers are supported.
  6. Browse the reference chart for A to Z, the rollover into double letters, and the milestones near the Excel ceiling.

About this tool

Excel Column Letter Converter translates between spreadsheet column letters (A, B, AA, AB, XFD) and column numbers (1, 2, 27, 28, 16,384) in your browser, in either direction. The direction is detected automatically, so you can type AB to get 28, or type 28 to get AB, without choosing a mode. The conversion uses Excel's bijective base-26 system, the same lettering scheme Google Sheets, Apple Numbers, OpenDocument spreadsheets, openpyxl, ExcelJS, Google Apps Script, and VBA all share. Unlike a straight base-26 encoding, bijective base-26 has no zero digit, so the single-letter range A..Z covers 1..26, then AA..ZZ covers 27..702, then AAA..ZZZ covers 703..18,278, and so on. The tool reaches the standard Excel and .xlsx maximum of XFD (16,384) by default, and an Allow beyond Excel max switch unlocks larger values for Google Sheets and other tools that allow more columns. Letter input is trimmed, upper-cased, and validated; non-letter characters produce a specific error so paste mistakes are easy to spot. Number input accepts commas, underscores, and spaces as digit separators, and rejects zero and negatives because column 0 does not exist. A zero-based index is shown alongside the one-based column number, which is what openpyxl's column_index_from_string, pandas DataFrame.iloc, ExcelJS, and other libraries actually need. A batch mode accepts a column of mixed letters and numbers pasted from a spreadsheet, converting each line independently and returning a parallel column ready to paste back. A reference chart covers the full A..Z range, the rollover into double letters where most confusion happens, and the milestones near the Excel XFD ceiling, plus a short explainer of why this is not the same as regular base-26. Useful for figuring out which column letter a numeric index points to, looking up the index for a column letter in openpyxl, pandas, or ExcelJS, double-checking VBA Range references, decoding column letters in SQL queries that join spreadsheet exports, and any moment you would otherwise reach for a calculator and a piece of scratch paper. Conversion runs entirely in your browser; the values you type or paste are never uploaded.

Free to use. Works in your browser. No signup, no login.

Related tools

You may also like

All tools
All toolsConverter Tools