Chess Notation Converter
Chess notation converter. Reads algebraic (PGN or FIDE style), long algebraic, UCI, ICCF numeric and English descriptive moves, and writes every move in all five.
Chess Notation Converter
How to use
Paste your moves
Paste a whole PGN file, tag-pair headers and all, or just the moves. The converter reads standard algebraic (Nf3), FIDE's forms (0-0, d8Q, ed5), long algebraic (Ng1-f3 or FIDE's Ng1f3), UCI (g1f3), ICCF digits (7163) and English descriptive (Kt-KB3, or P - K 4 with spaces as old books print it). Move numbers, comments, NAGs such as $1, e.p. and FIDE's draw-offer mark (=) are set aside.
Check how it should read them
Detecting automatically works for most text. If a descriptive game is being misread, choose English descriptive so every move is read that way first.
(Optional) starting FEN
For a puzzle or endgame study, paste the starting position, or leave it blank and a [FEN] tag in the PGN will be used. A FEN the converter cannot accept is reported, not silently ignored.
Read the table
Each move appears in algebraic (SAN), long algebraic, UCI, ICCF and descriptive. Anything set aside on the way, such as variations or a second game, is listed above the table. If a move cannot be read, the page names it and shows the moves before it.
What each notation is for, and where the rules come from
Algebraic: FIDE's form and PGN's form
FIDE's Laws of Chess, applied from 1 January 2023, open Appendix C with: "FIDE recognises for its own tournaments and matches only one system of notation, the Algebraic System, and recommends the use of this uniform chess notation also for chess literature and periodicals." Files are a to h, ranks 1 to 8, and each piece is its capital initial, except that "N is used for a knight, in order to avoid ambiguity" (C.2).
The algebraic in PGN files is not quite FIDE's. FIDE writes castling with zeros (0-0, C.13.1) and a promotion as the move followed by the piece (d8Q, C.11), and makes the capture, check, mate and e.p. marks optional (C.13.3 to C.13.6). PGN's export format writes castling with the capital letter O, adds = before a promoted piece, always writes x, + and #, and never marks en passant. The SAN column here follows PGN; the converter reads FIDE's forms too.
Long algebraic: the starting square spelled out
FIDE C.8: "A longer form containing the square of departure is acceptable. Examples: Bb2e5, Ng1f3". The Long column writes the hyphenated version (Ng1-f3, Bf4xe5+); either is read.
UCI coordinates: what engines exchange
The Universal Chess Interface was "developed in 2000 by Rudolf Huber and Stefan Meyer-Kahlen", according to Meyer-Kahlen's Shredder site. Its move format is the from-square and the to-square with no piece letter (g1f3), and a lower-case piece for a promotion (e7e8q).
ICCF numeric: digits only
Files and ranks both become the digits 1 to 8, so e2-e4 is 5254 and g1-f3 is 7163, and no piece letter in any language is needed. For a promotion this converter adds a fifth digit: 1 for a queen, 2 rook, 3 bishop, 4 knight.
"Scoresheets using a notation system other than algebraic may not be used as evidence in cases where normally the scoresheet of a player is used for that purpose." — FIDE Laws of Chess, Appendix C
English descriptive: how older books are written
Descriptive notation names each file after the piece that starts on it (QR, QN, QB, Q, K, KB, KN, KR for a to h) and counts ranks from the moving side's own back rank, so the square White calls K4 is K5 to Black. P-K4 is a pawn to the king's fourth, PxP a pawn taking a pawn. Capablanca's Chess Fundamentals (1921) is written this way, with Kt marking both the knight and the knight's file; the book never uses N.
When two pieces could make the same move, this converter adds the square the moving piece stands on (N(QB3)-QN5); a pawn capture names the pawn's file (KPxP) or the captured pawn's (PxQP); a piece capture that is still unclear names the square (BxN/KB6). It always picks the shortest of those forms that fits only the move played. Reading descriptive, it accepts Kt or N, flank files with or without K or Q (B-B4 is read when only one bishop-file square fits), ch for check and Castles.
Local letters and figurines
FIDE C.3 lets each player use the piece names "commonly used in his/her country", with the examples F for the French fou and L for the Dutch loper (bishop), and adds: "In printed periodicals, the use of figurines is recommended." This converter reads and writes English letters only.
Where FIDE's Laws and the PGN standard part ways
Castling: zeros or letters. FIDE C.13.1 reads "0-0 = castling with rook h1 or rook h8". The PGN standard insists on the letter: "the upper case letter "O" is used, not the digit zero", because a zero "can also confuse parsing algorithms". This converter reads both and writes O-O.
Promotion: with or without the equals sign. FIDE C.11 gives the examples d8Q, exf8N, b1B and g1R. PGN marks a promotion with "the equal sign", as in d8=Q.
En passant. FIDE C.9.3: "'e.p.' may be appended to the notation." The Laws for competitions starting before 1 July 2014 read "'e.p.' is appended". The PGN standard: "En passant captures do not have any special notation."
Optional symbols. FIDE: "Articles C.13.3 – C.13.6 are optional", which covers x, +, ++ or #, and e.p.. PGN export format writes + and #, and "There are no special markings used for double checks or discovered checks."
Two pieces, one square. FIDE C.10 adds the file of departure or the rank, and C.10.3 prefers the file when the pieces differ in both. PGN uses the file, then the rank, then the full square, and counts only moves that are legal, so a pinned piece needs no letter.
FEN is older than PGN. The PGN standard says FEN "is based on a 19th century standard for position recording designed by the Scotsman David Forsyth", extended for chess software by Steven Edwards.
The halfmove clock. FEN's fifth field counts plies "since the last pawn advance or capturing move" and "is used for the fifty move draw rule". Under FIDE 9.3 that is a draw "upon a correct claim" after 50 moves by each player with no pawn move and no capture; 9.6.2 ends the game automatically after 75.
Who wrote PGN. The standard is headed "Revised: 1994.03.12", with the authors given as "Interested readers of the Internet newsgroup rec.games.chess" and Steven J. Edwards as coordinator.
Kt, not N. FIDE C.2 uses N "in order to avoid ambiguity" with K for the king. Capablanca's Chess Fundamentals (1921) uses Kt, for the knight and for the knight's file alike.
Piece letters in other languages. PGN section 17 lists piece letters in 16 languages besides English, all European, for local display; archival PGN keeps the English letters.
Frequently Asked Questions
Paste the moves and convert. Files are named after the pieces that start on them (QR, QN, QB, Q, K, KB, KN, KR for
atoh), and ranks count from the moving side's own back rank, so White'sP-K4ise4and Black'sP-K4ise5.KtandNboth mean knight, and spaced moves such asP - K 4are joined up before reading.SAN gives the starting square only when two pieces could make the move:
Nf3. Long algebraic always gives it:Ng1-f3, orNg1f3in the form FIDE C.8 accepts. Both describe the same move.The square a move starts from already says which piece moves, so
g1f3needs no letter. That leaves nothing to translate between languages.SAN as PGN writes it:
e8=Q. FIDE's form:e8Q(C.11). Long:e7-e8=Q. UCI:e7e8q. ICCF as this converter writes it: a fifth digit, 1 queen, 2 rook, 3 bishop, 4 knight, so57581. Descriptive:P-K8(Q), orPxR(Q)when the pawn captures. All of these are read as well as written.Yes. Tag-pair headers (
[Event "..."]) are removed, and a[FEN]tag sets the starting position when the FEN field is blank. Comments in{...}or after;, NAGs such as$1, move numbers,e.p., FIDE's(=)and result markers are set aside. Variations, nested to any depth, are skipped and the page says how many. If the file holds several games, the first is converted and the page says so.The SAN column follows PGN: the file first (
Nbd2), then the rank (R1e2), then the whole square. The descriptive column adds the square the moving piece stands on (N(QB3)-QN5), names a pawn by its file (KPxP,PxQP), or adds the square of a capture (BxN/KB6), using the shortest form that fits only the move played. If descriptive text you paste could mean two legal moves, the page names both instead of guessing.Put its FEN in the FEN field, or leave a
[FEN]tag in the PGN. Moves are then played from that position. A FEN that is not a valid position produces an error message naming the problem.No. The chess.js 1.4.0 library this converter uses for legality has no Chess960 mode, so a Chess960 game cannot be converted: castling rights in a Chess960 FEN are refused, and Chess960 castling moves are not read.
Yes. Paste
e4or1. e4. Every move is played from the starting position, or from your FEN, so a single move is read in that position.One game at a time: when a file holds several, the first is converted. For many games, a short script around chess.js, the BSD-2-Clause library this page uses, is the quicker route.
Method & sources
How it computes
Moves are parsed and checked for legality with the vendored chess.js, then written in each notation by ChessNotationKernel: algebraic (FIDE and PGN forms), long algebraic, UCI, ICCF numeric and English descriptive, following FIDE's Laws Appendix C and the PGN standard's SAN rules.
What this tool implements
- Checked against FIDE Laws of Chess (effective 1 January 2023) Appendix C, including the sentence the page quotes, castling as 0-0 / 0-0-0, promotion as d8Q and e.p. for en passant; and against the PGN standard: castling with the letter O, promotion with '=', no special mark for double checks, section 17's piece letters in 17 languages (16 besides English). No errors found.
Sources
- FIDE. Laws of Chess, taking effect from 1 January 2023, Appendix C: Algebraic Notation. https://handbook.fide.com/chapter/E012023
- Edwards SJ. Standard: Portable Game Notation Specification and Implementation Guide (1994), sections 8.2.3 (SAN) and 17 (alternative piece letters). https://www.saremba.de/chessgml/standards/pgn/pgn-complete.htm
Pick up where you left off
Stored only in this browser — never sent to our servers.