⚾ Free · No Account · Browser Only

Baseball Scorebook

Record every at-bat for both teams, track base runners, compute OBP/SLG/OPS — then export a PDF scorebook or CSV. Saved in your browser automatically.

🏟 Game Info
📋 Batting Lineup
Editing: Home — up to 15 players
# Name Pos Jersey #
Keyboard Shortcuts (Scorebook)
1 Single 2 Double 3 Triple 4 Home Run K Strikeout W Walk (BB) G Groundout F Flyout L Lineout H HBP Enter Save Esc Cancel
📖 How It Works
Step 1
Enter both lineups

Add up to 15 players per team in the Setup tab. Include name, fielding position, and optional jersey number. Move players up/down with the arrow buttons to set batting order.

Step 2
Record every at-bat

In the Scorebook tab, click any cell to open the at-bat dialog. Choose the result (single, double, triple, HR, K, BB, HBP, groundout, flyout, lineout, FC, E, SAC, SF, DP), mark base runners on the diamond, enter RBI count, and check if the batter scored.

Step 3
Track advanced stats in real time

The Stats tab shows AB, H, 2B, 3B, HR, RBI, BB, HBP, K, R, AVG, OBP, SLG, and OPS — calculated automatically after every at-bat you record. Swap between home and away team.

Step 4
Export PDF or CSV

One click generates a landscape PDF scorebook (at-bat grid + box score + per-player stat lines) or a CSV you can open in Excel. Both are generated entirely in your browser — nothing is uploaded to a server.

AB = PA − BB − HBP − SAC − SF TB = 1B + 2×2B + 3×3B + 4×HR OPS+ ≥.900 = excellent hitter
Frequently Asked Questions
How do I record an at-bat?
Switch to the Scorebook tab and click any cell in the grid (rows = players, columns = innings). A dialog opens with color-coded result buttons — single, double, triple, home run, strikeout, walk, HBP, groundout, flyout, lineout, fielder's choice, reached on error, sacrifice bunt, sacrifice fly, and double play. Pick a result, optionally click bases on the diamond to show base runners, enter the RBI count, check whether the batter scored, then click Save. You can also use keyboard shortcuts (1–4 for hits, K, W, G, F, L, H) to pick results instantly.
Is my scorebook saved between sessions?
Yes. The entire game — both teams' lineups, every at-bat result, inning runs/errors, and all game info — is automatically saved to localStorage after every change. Close the tab, reopen it, and your game resumes exactly where you left off. No account or server required. Click "Reset Game" in the Setup tab to clear everything and start fresh.
What stats are calculated and what do they mean?
The tool computes: AVG (batting average = H ÷ AB), OBP (on-base percentage = (H+BB+HBP) ÷ (AB+BB+HBP+SF)), SLG (slugging percentage = total bases ÷ AB), and OPS (OBP + SLG). A hitter with OPS ≥ .800 is above average; ≥ .900 is excellent. All stats update live as you score the game.
What does the PDF export include?
The exported PDF is two pages: page 1 is a traditional scorebook grid (every at-bat result for each player and inning, with a totals row), and page 2 includes the box score (runs per inning for both teams, plus total R/H/E) and a full per-player stat table (AB, H, 2B, 3B, HR, RBI, BB, K, R, AVG). The file is generated with pdf-lib entirely in your browser — nothing is sent to any server.
Can I track extra innings, substitutions, or a DH?
Yes on all counts. Set "Innings" to any value 1–20 to support extra innings. To sub a player, simply edit their name in the lineup (click the name field and type) — the original at-bat data stays linked. For a DH, add the designated hitter as a regular lineup slot and just leave the pitcher's batting slot empty (don't add a pitcher to the batting order). Both the home and away team have independent lineups and at-bat grids.