Battle Map Generator
Generate a dungeon battle map in seconds: pick a theme, size and layout, then download a gridded PNG or JPEG, a print-ready PDF, or a Foundry VTT / Universal VTT file with walls and lights.
How the Battle Map Generator works
Generate a gridded dungeon battle map for D&D and other tabletop RPGs, then download it as a PNG or JPEG for a virtual tabletop, a print-ready PDF, or a Foundry VTT or Universal VTT file with walls, doors and lights. Maps are generated and drawn in your browser from a seed.
- Pick a Theme: Stone Keep, Crypt, Overgrown Ruin, Sandstone Tomb or Infernal Forge.
- Choose a Size (Small, Medium or Large), a Layout (Open, Balanced or Tight) and Features (Sparse, Normal or Dense).
- Click New map (or press N) until one fits your scene; Previous and Next (or the ← and → keys) step through maps you've seen. The shortcuts pause while you're typing or using a setting's arrow keys, such as the Theme or Size options.
- Set Lighting and Grid, and turn on Room numbers or GM markers if this is the GM's copy.
- Choose Pixels per square and PNG or JPEG and download, or use Print PDF, Foundry VTT scene or Universal VTT under More formats.
Sizes and what the settings change
Small is 22 × 16 squares, Medium 30 × 22 and Large 40 × 28, with one square = 5 feet. Size and Layout change the floor plan: Open makes a few big halls with wide openings, Balanced mixes rooms, passages and loops, and Tight makes many small rooms and narrow chokepoints. Theme and Features keep the same rooms: the theme changes materials and contents (tombs, bones and cobwebs in the Crypt; anvils and lava in the Infernal Forge), and Features sets how much cover and clutter each room gets.
Lighting (Torchlit, Dim or Bright) and Grid only change how the map is drawn. Bright is evenly lit and prints best.
Export sizes
Pixels per square can be 70 (Roll20's default), 100 (Foundry VTT's default) or 140. A Medium map at 100 px is 3000 × 2200 pixels. Images are capped at about 16.7 megapixels, so 140 px isn't available for Large maps. PNG is lossless but large; JPEG is much smaller and looks nearly identical for maps.
Print PDF puts an overview page with the room key first, then tiles the map at 1 inch per square on landscape Letter or A4 pages, 10 × 7 squares per page, labeled A1, A2, B1 and so on. A Medium map prints on 12 tiles plus the overview. Print at 100% (actual size).
Seeds and sharing
Every map comes from a seed plus the settings. The same seed and settings always produce the same map, and the page address updates as you go, so Copy link (or noting the seed) brings back that exact map. You can also type any seed you like. Nothing is uploaded.
Frequently asked questions
Is the battle map generator free, and can I use the maps?
Yes. It's free with no signup, maps are generated in your browser, and the downloads are yours to use at your own table, online or in print.
What size should I export for Roll20 or Foundry VTT?
Match your table's grid: 70 pixels per square for Roll20's default and 100 for Foundry VTT's. JPEG files are far smaller than PNG, which helps with upload limits.
How do I import the map into Foundry VTT with walls?
Download the Foundry VTT scene file and the image at the same pixels per square. In Foundry, create a scene, use Import Data with the file, and set the downloaded image as the background. Alternatively, the Universal VTT (.dd2vtt) file contains the image, walls, doors and lights together for importers such as Foundry's Universal Battlemap Importer, Arkenforge and Fantasy Grounds.
How do I get the same map again or share it?
Use Copy link, or note the seed. The link holds the seed and every setting, so anyone who opens it sees the identical map.
Can I print a battle map for in-person play?
Yes. Print PDF tiles the map at 1 inch per square across Letter or A4 pages with an overview page, ready to tape together. Print at 100% (actual size), and choose Bright lighting to save ink.
What are room numbers and GM markers?
Optional overlays for the game master. Room numbers labels each room to match the room key, and GM markers tint squares that give full or half cover, difficult terrain, and hazards like pits, water and lava. Both appear in downloads when they're on, so turn them off for the players' copy.
More D&D & tabletop tools
- Dice Roller
Roll one die type per roll, like 4d6 or d20+5, from d2 to d100 with a modifier. Shows every die and your last 15 rolls.
- Chess board move log
Click squares to move pieces and log simplified notation with White/Black full-move numbers. Not legal-move validation or PGN/SAN export.
- D&D Character Stat Roller
Generate D&D ability scores with 4d6 drop lowest, 3d6, or seven-roll drop-lowest-total. Scores map STR → CHA in fixed order.
- D&D Point Buy Calculator
Spend 27 points on scores from 8 to 15, then add 2024 background or 2014 species increases (+2/+1 or +1/+1/+1). Shows final scores and modifiers.
- D&D Advantage Math
Exact chances to roll at least a value on a d20—normal, advantage, or disadvantage. For planning checks, not every table rule.
- D&D Initiative Tracker
Roll d20 + initiative mod for each combatant and get a sorted turn order—quick encounter helper in the browser.
- D&D Encounter Difficulty Calculator
Rate a D&D 5e combat for a party at any mix of levels: 2024 Low/Moderate/High XP budgets, or 2014 Easy to Deadly thresholds with group multipliers.
- D&D Spell Slot Calculator
Spell slots for any class or multiclass in D&D 5e: full, half and third casters on the multiclass table, Warlock Pact Magic kept separate, 2014 vs 2024 compared.
- D&D Loot Generator
Random D&D 5e loot by party level: official magic items with their real rarities, plus coins, gems and art objects with gp values.
Browse everything in Gaming tools.
Similar Gaming tools
Darts Scorekeeper
Score 301 and 501 for any number of players, with double-out busts and checkouts or straight out. Impossible turn totals are caught.
Dice Roller
Roll one die type per roll, like 4d6 or d20+5, from d2 to d100 with a modifier. Shows every die and your last 15 rolls.
Chess board move log
Click squares to move pieces and log simplified notation with White/Black full-move numbers. Not legal-move validation or PGN/SAN export.