How to import a dungeon map with walls into Roll20

Roll20 can open a map file that already knows where its walls and doors are. You upload one file and get a page with the picture and the line-of-sight walls in place, with no tracing.

Written 19 November 2026. Roll20 added this in July 2026, so older advice about needing a Pro account and a script is out of date.

What you need

Steps

  1. Make the map. In Mapfix, press Draw again until you like the dungeon, then press .dd2vtt to download it.
  2. Open the Page Menu in your Roll20 game.
  3. Expand the Create Page menu and choose Upload Background.
  4. Pick the file, or drag it in. Roll20 creates a new page with the picture on the Map layer and the walls and doors on the Dynamic Lighting layer.
  5. Check the lighting. Dynamic Lighting should already be on for the new page. If your players can see through walls, look in Page Settings and switch it on.

What comes across from a Mapfix map

In the fileIn Roll20
The inked map picture, at 70 pixels per squareBackground on the Map layer
Rock faces, including curved passagesWalls that block sight
DoorsDoors you can open and close
PillarsSmall walls that block sight around each pillar
LightsNone. Mapfix does not place light sources, so add torches or give tokens vision yourself.

Roll20's own notes say door details can vary with the tool that made the file, so open and close a door or two before the session.

If the file is too big

Roll20 limits the size of each upload by plan: 20 MB on a free account, more on paid ones. A single-section or scattered Mapfix map is well under that. A whole large adventure may not be. Use Sections .zip instead, which saves each part of the dungeon as its own smaller file; see splitting a big dungeon into scenes.

On a free account: use the picture

  1. Press PNG in Mapfix.
  2. Upload it to a Roll20 page and place it on the Map layer.
  3. Set the page size, in squares, to the picture's width and height in pixels divided by 70. Mapfix draws at 70 pixels per square, which is Roll20's default, so the grid lines up without stretching.

More on that in battlemap size and grid.