MapToMAP - A Procedural Tiled Map Generator from a Single Sample

Create Bigger Maps — With Less Effort

Automatically generate large tiled maps in your browser from a small example. Simple, free, and built for Tiled users.

 Features

  • Learns tile patterns from a sample map to generate new maps
  • Two Generation Modes
    • Mimic Original — Reproduces the style and structure of your original map
    • Creative Random — Generates entirely new layouts inspired by the original pattern

Original (20x20)Mimic Original (40x40)
Original (15x15)Creative Random (60x60)


  • Live preview of the generated map
  • Supports multi-layer generation, including TileLayer, ObjectLayer, and GroupLayer. (ImageLayer is not supported.)
  • Supports large-scale maps (100×100 tiles or more)
  • Supports Tiled’s JSON format
  • Export and import the setting of the current tab to quickly reuse your setup

How to Use

  1. Select your tiled map sample (Tiled .json or .tmj)
  2. Select the corresponding tileset files (Tiled .json or .tsj)
  3. Select any referenced image assets
  4. Click "Generate New Map"
  5. Review the parameters in the dialog, then click "Start Generation"
  6. Once generation is complete, click "Download Tiled Map" to download your new map!

Two sample maps are included in the tool — feel free to try them out first.


The most important parameter is the layer relationship (already configured in the two sample maps mentioned above), which can significantly affect the quality of the result. The tooltip next to the parameter explains how to set it up in detail. You can try generating with the default setting first — if the result looks off, you can tweak the parameter afterward.

About This Tool

Generation Strategy

  • This tool uses a procedural generation strategy similar to Wave Function Collapse (WFC) — it learns rules from your sample and tries to fill the map while following those rules. But instead of giving up when something goes wrong, this tool first builds the big picture, then tries to fix broken parts afterward.
  • Near the end of the process, it might slow down because it’s trying hard to fix tricky spots. It clears nearby tiles and looks for ways to repair them.
  • However, some patterns are harder to fix — like long rivers, roads, or cliffs that need to reach the map edge or connect in specific ways. These global structures are hard to fix locally, so I'm planning to add a Global Solve Mode that searches more carefully and avoids paths that are doomed to fail.

Planned Features

The following features are planned for upcoming versions:

  • Pattern Repair Assistant
    • Detects missing tile connections and fills in incomplete rules — improving generation success rate and speed
  • Maze Mode
    • A new generation mode that creates maze-like layouts
  • Global Solve Mode
    • A new generation mode designed to handle difficult rules that are hard to resolve through local repairs. This mode performs an exhaustive tile-by-tile search with branch pruning — it abandons any partial result as soon as it detects an unsolvable cell. Ideal for generating maps with strict or complex constraints, where the default strategy may struggle to complete the map successfully.
  • Magic Stamp Tool
    • A smart tile placement tool — Set a specific tile manually, and nearby tiles will automatically adjust around it
  • Desktop Version with Multi-threading
    • A downloadable version with multi-threaded generation, for faster performance on large maps

Support This Tool

If you enjoy using this tool and want to support its development, please consider clicking the "Support This Tool" button at the top of this page or supporting me on Patreon. Thank you!

Updated 2 days ago
Published 5 days ago
StatusReleased
CategoryTool
PlatformsHTML5
AuthorGamsterSmith
TagsGenerator, map, map-generator, Procedural Generation, tiled, tiledmap, Tilemap, Tileset
Average sessionA few seconds
LanguagesEnglish
InputsMouse, Touchscreen
LinksPatreon

Development log

Leave a comment

Log in with itch.io to leave a comment.