Hexwright is a free plugin for Obsidian. Put a seed in a note and it draws a hex-crawl region: plains, forest, hills, mountains, swamp and sea, with rivers, roads and towns on a numbered grid, and something in every hex. Then the party travels it a day at a time, under fog, and each day is written into the note. Below is the real plugin code running in your browser: click a hex next to the red marker and press Travel here.
Get Hexwright, freeIn Obsidian's plugin directory: Settings, Community plugins, Browse, search Hexwright, then Install and Enable. Or take main.js, manifest.json and styles.css from the latest release.
Reading view
The Saltmarch
Six-mile hexes. The party has a rumour and a week of food.
The same note, as text
The party's hex, the day and where it has been are kept in the block, so the note is the save. Each day of travel goes under the map as a list line.
The note it writes
Click a hex, then Open its note. Towns, villages and ruins get a Mapsmith block, so with Mapsmith installed the town's streets or the ruin's dungeon are drawn right in that note.
The block in your note
A map is a code block with a seed, a size and a lean:
```hexwright
seed: saltmarch
size: medium
terrain: mixed
fog: on
```
Sizes are small, medium, large or your own, like 12x10. The lean is mixed, forest, steppe, mountains, swamp or coast. The same seed always draws the same region, so a map in your campaign notes never changes under you. The command Insert a hex crawl writes a block with a fresh seed.
Something in every hex
Every hex is keyed: a town, a village, a ruin, a lair, a landmark, a resource, or open country, weighted by its terrain, each with a name and a line on what's there.
Most towns and villages, and about one other hex in three, carry a rumour that points at something two to six hexes off, with the direction and the days it takes. Show on the rumour picks that hex.
Open its note writes a note for the hex beside the map note. Towns, villages and ruins get a Mapsmith block, so with Mapsmith installed the town's streets or the ruin's dungeon are drawn in that note. Mapsmith Pro, $6 once, saves that town or dungeon for Foundry, Atlas VTT or Roll20 with its walls and doors (walls in Roll20 need a paid Roll20 plan).
Travel, fog and the day log
With fog: on only the hexes the party has seen show. They see one hex out, or two from hills and mountains.
A day's travel moves one hex. Swamp and mountains take two days unless a road runs through. Off the road and away from rivers, woods and swamp can get the party lost.
Weather and encounters are rolled for each day, from the seed and the day, so they don't change if you reload.
To use your own table, add encounters: [[Wild encounters]] to the block. Every list item in that note is one encounter, and items under a terrain heading like ## Forest come up only there.
Add rations: 14 and every day eats a day's food, with a chance to forage some back in the woods or by a river. The day line says what's left.
Rest a day here spends a day where the party stands: new weather, a chance of something in the night, and a day's food eaten or foraged.
The party's hex, the day and where they've been are kept in the block, so the note is the save. Each day goes under the map as a list line you can write beside.
Show the whole map lifts the fog for you only, the way a referee looks.
Into a virtual tabletop
Save as picture writes a PNG with hexes 100 pixels from flat side to flat side, with the grid starting at the top-left corner, so a virtual tabletop's hex grid can be set to match.
How it differs from the other hex plugins
Obsidian already has good hex map plugins: Hexmap World Creator, Hex Cartographer, Chartdown, Hexcrawl, VPA HexCrawl and Crawl Mapper. Going by their READMEs (checked 15 Nov 2026), you build those maps yourself, painting hexes or writing them out as text, and some let you place a party token. Hexwright draws the region for you from a seed, keys every hex, and counts the days of travel. If you'd rather draw your own world by hand, one of those is the better fit.