Homebrew import format

Write your own spells, species, backgrounds, items, feats and monsters in one file, then bring them into any campaign with Compendium → Import. It's the same file FreeVTT makes when you use Export, so exporting a few entries is also a good way to see real examples.

Download the templateOne working example of each kind, ready to copy and edit.

How the file is laid out

It's a JSON file (plain text you can edit in any text editor). The top has three parts:

{
  "version": 1,
  "source": "FreeVTT",
  "entries": [
    { "type": "spell", "data": { "name": "Frost Lance", ... } },
    { "type": "monster", "data": { "name": "Bog Lurker", ... } }
  ]
}

Each entry has a type and its data. You don't need ids or dates: FreeVTT adds those when it imports. If something is missing, the importer tells you which entry and which field, e.g. Entry 3 "Frost Lance" (spell): missing "level" (a number).

If an entry has the same name as one you already have, you choose whether to skip it, replace it or import it as a copy.

Entry types

"spell" — A spell

Needs: name, level (number, 0 for cantrips), school, castingTime, range, components, duration, description, classes (list)

Optional: higherLevels, ritual, concentration, attackType ("melee" / "ranged"), saveAbility ("dex"…), damage ("2d8"), damageType, healing.

"race" — A species / race

Needs: name, size, speed (number, in feet), creatureType, description, traits (list)

Each trait has name and description, plus optional darkvision (feet), resistance, languages, skillProficiency and toolProficiency lists.

"subrace" — A subrace for an existing species

Needs: name, parentRaceId, description, traits (list)

parentRaceId is the species id in lowercase, e.g. "elf", "dwarf", "halfling".

"background" — A background

Needs: name, description, skillProficiencies (list), equipment (list)

Optional: toolProficiency, languages (number), originFeatId (e.g. "alert"; leave out for 2014 rules), feature { name, description }.

"item" — Gear, a weapon, armor or a magic item

Needs: name, category ("weapon", "armor", "adventuring-gear" or "magic-item"), type ("weapon", "armor", "shield", "item", "consumable" or "wondrous")

Optional: weight, value, description, properties; weapons: damage, damageType, weaponType, weaponCategory; armor: armorType, baseAC; magic: rarity, magicBonus, requiresAttunement.

"feat" — A feat

Needs: name, description, category

Use category "origin" for feats picked with a background, otherwise "general", "fighting-style" or "epic-boon".

"monster" — A monster or NPC stat block

Needs: name, size, type, alignment, ac, hp, hitDice, speed, str, dex, con, int, wis, cha, senses, languages, cr, xp

Numbers: ac, hp, the six ability scores and xp. cr is text ("1/4", "5"). Optional lists: traits, actions, bonusActions, reactions, legendaryActions (each with name and description).

"class / subclass" — A D&D class, or a subclass for any class

Needs: name (subclasses also need parentClassName, e.g. "Fighter")

Classes have many level-by-level features, so the easiest start is to make one in the Compendium, export it, and edit that file.

"pf2e-creature, pf2e-spell, pf2e-item, pf2e-feat, pf2e-ancestry, pf2e-background, pf2e-class" — Pathfinder 2e homebrew

Needs: name

Import these into a Pathfinder 2e campaign. Export one from the PF2e Compendium to see every field.

Good to know

  • Custom classes and subclasses can't be imported from a file yet; create them in the Compendium.
  • Text values go in quotes ("Evocation"); numbers and lists don't (1, ["Wizard"]).
  • A missing comma or quote makes the whole file unreadable. A free online "JSON validator" will point to the line.
  • Imported content belongs to the campaign you import it into.