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.

Loading generator…

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.

  1. Pick a Theme: Stone Keep, Crypt, Overgrown Ruin, Sandstone Tomb or Infernal Forge.
  2. Choose a Size (Small, Medium or Large), a Layout (Open, Balanced or Tight) and Features (Sparse, Normal or Dense).
  3. 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.
  4. Set Lighting and Grid, and turn on Room numbers or GM markers if this is the GM's copy.
  5. 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

Cluster

Browse everything in Gaming tools.

Similar Gaming tools

3 related