TODS matchUpFormat validator and score checker
Type an ITF TODS matchUpFormat code such as SET3-S:6/TB7 to read it in plain words. Add a TODS score to check it against the code, set by set.
The validator runs in your browser and needs JavaScript. Without it, this page shows the format page's first example worked out below.
What the code says
The code follows the TODS grammar.
- Best of 3 sets. The first side to win 2 sets wins the match.
- Each set goes to 6 games with a two-game lead. At 6 games all, a tie-break to 7 points decides it.
- The final set is played the same way.
What TODS leaves open here
The score against the code
The score fits the code. The winner won 2 sets to 1.
| Set | Score | Won by | Check |
|---|---|---|---|
| 1 | 6-3 | Match winner | Fits |
| 2 | 3-6 | Other side | Fits |
| 3 | 7-6(7-3) | Match winner | Fits |
The validator works in your browser and sends nothing itself. The boxes and the result are masked in the site analytics.
Get a free API keyCompare score notation formats
How does the first example read?
The format page's first example is SET3-S:6/TB7, a standard match. Best of 3 sets. The first side to win 2 sets wins the match. Each set goes to 6 games with a two-game lead. At 6 games all, a tie-break to 7 points decides it. The final set is played the same way. Its score, 6-3 3-6 7-6(7-3), fits: the winner took 2 sets to 1, the last through the tie-break.
How does a matchUpFormat code read?
The grammar comes from the ITF's MatchUp Format Code page, read on 22 November 2026. A code is built from these parts.
SETand the number of sets, such asSET3. The page says this is usually 1, 3 or 5.-S:and the set format. That starts with the number of games, such as-S:6.NOADafter the games when games have no advantage. Without it, games have advantage./TBand the points the tie-break goes to, such as/TB7.@and the games all score where the tie-break starts, such as@12.-S:TBand a number for sets that are only a tie-break, such as-S:TB10.-F:in place of-S:gives the final set its own format, such as-F:TB10.Tand minutes for a timed match, such asT90Pfor points orT90Gfor games. A set can be timed too, as inSET3-S:T20.
The validator accepts only what this grammar and the page's examples show. It marks the first character that breaks it and says what could come there.
How is a TODS score written?
From the winner's side, as one string. The introduction to the matchUp and the data dictionary both say so, read on 22 November 2026. The format page's examples show the rest.
- Each set is the winner's games, a hyphen and the other side's games, such as
6-3. A set the winner lost reads like3-6. - A tie-break inside a set goes in round brackets after it. Both sides' points come in the same order as the games, as in
7-6(7-3)and3-4(3-5). - A set that is only a tie-break goes in square brackets, as in
[10-4]. - Sets are separated by spaces. The data dictionary's example uses a comma and a space, and that passes too.
The code says how far a tie-break goes, not whether it needs a two-point lead. For that the validator reads the ITF Rules of Tennis 2026, read on 22 November 2026. Tie-breaks to 7 and 10 need a two-point lead (Rule 5b and Appendix VI). The 5-point short set tie-break has a deciding point at four all, and so does a no-advantage game at deuce (Appendix VI).
Do the format page's own examples pass?
Here is every example in the table, run through the validator. Six of the eleven examples fit with nothing left open. Five fit only where TODS leaves a point open.
| Code | Score | TODS label | Check |
|---|---|---|---|
SET3-S:6/TB7 | 6-3 3-6 7-6(7-3) | Standard match | Fits |
SET3-S:4/TB5-F:TB5 | 5-3 4-5 [10-8] | Short sets ITF | Left openTODS does not say whether a tie-break score can be left out. The short sets example leaves it out of 4-5. |
SET5-S:6/TB7-F:6 | 7-6(7-5) 6-4 4-6 4-6 12-10 | Wimbledon singles 2018 | Fits |
SET5-S:6/TB7-F:6/TB7@12 | 7-6(7-5) 6-4 4-6 4-6 13-12(7-5) | Wimbledon singles 2019 | Fits |
SET5-S:6/TB7-F:6/TB10 | 7-6(7-5) 6-4 4-6 4-6 7-6(10-5) | Australian Open singles 2019 | Fits |
SET1-S:8/TB7 | 8-7(7-5) | Pro Set | Left openThe code gives no @. One reading starts the tie-break at 8 games all, the other at 7. The score fits only one of them. |
SET5-S:4/TB5@3 | 4-3(5-3) 2-4 3-4(3-5) 4-0 4-2 | Fast4 | Fits |
SET3-S:TB10 | [10-4] [5-10] [10-6] | Tie break only match | Fits |
T30 | 21-12 | Timed 90 mins | Left openThe code does not say whether points or games decide it. The format page adds P for points or G for games, as in T90P. |
T30 | 7-3 | Timed 90 mins | Left openThe code does not say whether points or games decide it. The format page adds P for points or G for games, as in T90P. |
SET3-S:T20 | 7-0 4-4 5-3 | 3 sets of 20 minutes | Left openTODS does not say how a match of timed sets is won, or whether a level set counts. Its example has a set that ended 4-4. |
Where are the TODS pages silent or unclear?
Where the pages leave a point open, the validator says so and does not guess. These are the gaps we found.
- The grammar calls the number after TB the "number of tiebreak rounds". Every example reads it as the points the tie-break goes to, so the validator does too.
- Without an @, the code does not say when the tie-break starts. The 6 and 4 game examples start it at games all. The Pro Set example, SET1-S:8/TB7, is scored 8-7(7-5) instead.
- The Fast4 row gives its set format as S:4NOAD/TB5@3, but its code, SET5-S:4/TB5@3, has no NOAD.
- The short sets example, SET3-S:4/TB5-F:TB5, scores its final set [10-8], which is more than a tie-break to 5 needs. Its second set, 4-5, has no tie-break score.
- The code gives a tie-break's target but not whether it needs a two-point lead. The validator uses the ITF rules for 7 and 10 points, and for 5 points in a 4 game set. For any other, it leaves the verdict open where a lead of one or two points would differ.
- The text writes a timed match as T90P or T90G. The table writes both timed rows as T30 and calls them 90 minute games.
- TODS does not say how a match of timed sets is won. Its example, 7-0 4-4 5-3, has a set that ended level.
- The format page separates sets with spaces and the data dictionary with commas, so both pass here. The introduction uses semicolons, but only in each side's own score.
- TODS does not say how to write the score of a match that stopped early, such as a retirement.
- The format page says the number of sets is usually 1, 3 or 5. It does not say how an even number decides a match.
- The JSON schema 0.8 types matchUpFormat and score as a string or null, with no pattern to check a string against.
Which ITF pages does it follow?
- MatchUp Format Code: the grammar and every example. Read on 22 November 2026.
- Introduction to the MatchUp: the score is written from the winner's perspective. Read on 22 November 2026.
- Data Dictionary: the matchUp score is the result from the winner's perspective. Read on 22 November 2026.
- TODS Version 0.8: the JSON schema, where both fields are a string or null. Read on 22 November 2026.
- ITF Rules of Tennis 2026: tie-break margins and no-advantage games. Read on 22 November 2026.
The format page and the introduction are both marked as draft documentation. The format page was last edited on 19 April 2022.
Recording a match point by point? Our point string to score converter turns a point string into the running score. Our notation formats page compares TODS with four other ways to write down a match.
Checked against the ITF pages above on 22 November 2026.