# Using valheimdb.com in guides, blogs, forums and videos

valheimdb.com is an unofficial Valheim database (game version 1.0.20): items with recipes and upgrade costs, creatures, building pieces and locations, four calculators (block and parry, damage, food, comfort) and a seed map. Every card, table and embed shows live data read from the game files and updates itself after each patch. It is free to use in guides, videos, blogs, wikis and forums — keep the visible link to valheimdb.com that every format carries. Game data and art © Iron Gate AB; Iron Gate's own rules for fan content apply. Short version for assistants: `https://valheimdb.com/llms.txt`.

## 1. Find the thing you want

Four sections have a card (a page with a hover-card, copy menu and picture). Every thing has its own page; there are no category anchors to a row on a list page.

| Section | URL pattern | Example | What it is |
|---|---|---|---|
| items | `https://valheimdb.com/items/<slug>` | `https://valheimdb.com/items/iron-sword` | every item: weapons, armor, food, materials, trophies; the recipe is at `#recipe` |
| creatures | `https://valheimdb.com/creatures/<slug>` | `https://valheimdb.com/creatures/troll` | monsters, animals and bosses with health, resistances, attacks, drops, spawns |
| building | `https://valheimdb.com/building/<slug>` | `https://valheimdb.com/building/workbench` | building pieces and crafting stations with their build cost |
| locations | `https://valheimdb.com/locations/<slug>` | `https://valheimdb.com/locations/eikthyr-altar` | dungeons, camps, altars and ruins with their chest loot |

Lists to browse: `https://valheimdb.com/items`, `https://valheimdb.com/weapons`, `https://valheimdb.com/armor`, `https://valheimdb.com/food`, `https://valheimdb.com/creatures`, `https://valheimdb.com/bosses`, `https://valheimdb.com/biomes`, `https://valheimdb.com/locations`, `https://valheimdb.com/building`, `https://valheimdb.com/item-ids` (every item ID with its spawn command), `https://valheimdb.com/creature-ids`, `https://valheimdb.com/console-commands`. Calculators: `https://valheimdb.com/tools`. Seed map: `https://valheimdb.com/map`.

- By name: `https://valheimdb.com/go/Iron%20Sword` redirects to the page (spaces as `%20`; 307). By section and slug: `https://valheimdb.com/go/items.iron-sword` (308). A name that matches nothing opens `https://valheimdb.com/search?q=<name>`.
- Every name and its path: `https://valheimdb.com/tooltip/names.json` (1,455 names). Shape: `{"version":"1.0.20","names":{"Iron Sword":"items/iron-sword", …}}`.
- Card data as JSON: `https://valheimdb.com/tooltip/<section>/<slug>` (CORS open, cached 1 h, `section` is items, creatures, building or locations). Fields: `section`, `name`, `sub`, `icon`, `key` (the key lines as [label, value]), `href`, `url`, `version`, plus `id` (item ID, creature spawn ID, building prefab ID, location prefab), `spawn` (console command, items and creatures), `levels` (top upgrade level), `food` ([health, stamina, eitr, seconds], foods only) and `groups` (the card's full body). `https://valheimdb.com/tooltip/items/iron-sword`, trimmed:

```json
{
  "section": "items",
  "name": "Iron Sword",
  "sub": "One-handed weapon · Swords",
  "icon": "/game/icons/items/SwordIron.webp",
  "key": [
    [
      "Slash",
      "55 → 73"
    ],
    [
      "Block armor",
      "21"
    ]
  ],
  "levels": 4,
  "href": "https://valheimdb.com/items/iron-sword",
  "id": "SwordIron",
  "spawn": "spawn SwordIron 1 4",
  "url": "/items/iron-sword",
  "version": "1.0.20"
}
```

- Search: `https://valheimdb.com/search?q=troll` (a page); the index every search uses, as JSON: `https://valheimdb.com/search.json` (`label`, `sub`, `href`). There are no separate /raw datasets on this site: the card JSON, `names.json` and `search.json` are the machine-readable data.

## 2. Reddit, Discord, Steam guide, YouTube description, forum post (no code)

On every item, creature, building piece and location page, press **Copy for guides ▾** in the header; table rows that link to one have **Copy ▾**; recipes have **Copy recipe**. The menu: Link, Reddit (Markdown), Discord, Steam / forum (BBCode), Text (YouTube, chat), HTML (blog), Copy image / Download PNG (the card as a picture; "Picture size" switches card size and 1200×630), the game formats, and + Add to list. The real output for the Iron Sword:

**Reddit (Markdown)** — paste into a post or comment (tables and links work in the Markdown editor):
```markdown
**[Iron Sword](https://valheimdb.com/items/iron-sword)** — One-handed weapon · Swords: Slash 55 → 73, Block armor 21, Parry bonus ×2, Attack stamina 10, Knockback 40 (level 1 → 4) · Valheim 1.0.20
```

**Discord** — Discord has no tables, so it is a bold link and a small grey line; a message holds 2,000 characters:
```markdown
**[Iron Sword](https://valheimdb.com/items/iron-sword)** — Slash 55 → 73, Block armor 21, Parry bonus ×2, Attack stamina 10, Knockback 40 (level 1 → 4)
-# One-handed weapon · Swords · valheimdb.com · Valheim 1.0.20
```

**Steam / forum (BBCode)** — for Steam guides, Steam discussions and BBCode forums. A Steam guide section holds at most 8,000 characters (longer output is cut with a link to the rest):
```text
[url=https://valheimdb.com/items/iron-sword][b]Iron Sword[/b][/url] — One-handed weapon · Swords · Valheim 1.0.20 (level 1 → 4)
[list]
[*]Slash 55 → 73
[*]Block armor 21
[*]Parry bonus ×2
[*]Attack stamina 10
[*]Knockback 40
[/list]
```

**Text (YouTube, chat)** — plain lines for a video description (limit 5,000 characters) or a chat:
```text
Troll (Forest monster · Black Forest): Health 600 · 1★ 1,200 · 2★ 1,800; Hardest hit 70; Resistant to Blunt, Weak to Pierce, Immune to Spirit; Drops: Coins, Troll Trophy, Troll Hide — https://valheimdb.com/creatures/troll
```

**Link** — `https://valheimdb.com/items/iron-sword`. **HTML (blog)** — `<a href="https://valheimdb.com/items/iron-sword">Iron Sword</a>` (with the script of section 3 on the page it shows the card on hover).

**Copy recipe** (item pages, on the recipe card) — the ingredients as a list, here in Reddit form:
```markdown
**[Iron Sword recipe](https://valheimdb.com/items/iron-sword#recipe)** — Crafted at Forge, level 2

- 2 [Wood](https://valheimdb.com/items/wood)
- 20 [Iron](https://valheimdb.com/items/iron)
- 3 [Leather Scraps](https://valheimdb.com/items/leather-scraps)

*Valheim 1.0.20 · valheimdb.com*
```

**Picture** — Steam and Reddit need the image uploaded: use **Download PNG**, then upload the file to the guide or post. Discord takes **Copy image** pasted straight into a message.

**Game formats** (the last items of the menu; they copy exactly this text):

| Section | Menu entry | What is copied | Where to paste it in Valheim |
|---|---|---|---|
| items | Game: Item ID | `SwordIron` | the item ID, for mods and `spawn` |
| items | Game: spawn command | `spawn SwordIron 1 4` | the console: press F5, type `devcommands` once (the console must be enabled; in multiplayer only the host or a server admin may), paste the line. Format `spawn <ID> [amount] [level]`; for gear the last number is the upgrade level |
| creatures | Game: Spawn ID; Game: spawn, 2 stars (creature page) or Game: spawn command (cards in tables) | `Troll`; `spawn Troll 1 3`; `spawn Troll 1 1` | the same console; the last number is the creature level (2 = one star, 3 = two stars) |
| building | Game: Prefab ID | `piece_workbench` | the piece's internal name, as mod configs and tools list it |
| locations | (no game format) | | link, text and picture only |
| seed map | Share → Game: World seed | the seed, e.g. `HailOdin` | New world → Seed field; the map page also has a copy-seed link |

**Several things at once:** press **+ Add to list** on any card (up to 100, kept in your browser); the list waits bottom right; **Export** gives a Reddit table, a Discord list, a Steam / forum table, text, HTML, one picture, a link to a page showing the list (`https://valheimdb.com/list?i=section/slug,section/slug`) and one spawn command per line. For three things:

```markdown
| Name | Type | Key stats |
|---|---|---|
| [Iron Sword](https://valheimdb.com/items/iron-sword) | Item · One-handed weapon · Swords | Slash 55 → 73, Block armor 21, Parry bonus ×2, Attack stamina 10, Knockback 40 (level 1 → 4) |
| [Bronze Mace](https://valheimdb.com/items/bronze-mace) | Item · One-handed weapon · Clubs | Blunt 35 → 53, Block armor 12, Parry bonus ×2, Attack stamina 8, Knockback 80 (level 1 → 4) |
| [Troll](https://valheimdb.com/creatures/troll) | Creature · Forest monster · Black Forest | Health 600 · 1★ 1,200 · 2★ 1,800; Hardest hit 70; Resistant to Blunt, Weak to Pierce, Immune to Spirit; Drops: Coins, Troll Trophy, Troll Hide |

*Valheim 1.0.20 · [the list on valheimdb.com](https://valheimdb.com/list?i=items/iron-sword,items/bronze-mace,creatures/troll)*
```

```markdown
- **[Iron Sword](<https://valheimdb.com/items/iron-sword>)** — Slash 55 → 73, Block armor 21, Parry bonus ×2, Attack stamina 10, Knockback 40 (level 1 → 4)
- **[Bronze Mace](<https://valheimdb.com/items/bronze-mace>)** — Blunt 35 → 53, Block armor 12, Parry bonus ×2, Attack stamina 8, Knockback 80 (level 1 → 4)
- **[Troll](<https://valheimdb.com/creatures/troll>)** — Health 600 · 1★ 1,200 · 2★ 1,800; Hardest hit 70; Resistant to Blunt, Weak to Pierce, Immune to Spirit; Drops: Coins, Troll Trophy, Troll Hide
-# valheimdb.com · Valheim 1.0.20 · whole list: <https://valheimdb.com/list?i=items/iron-sword,items/bronze-mace,creatures/troll>
```

```text
[table]
[tr][th]Name[/th][th]Type[/th][th]Key stats[/th][/tr]
[tr][td][url=https://valheimdb.com/items/iron-sword]Iron Sword[/url][/td][td]Item · One-handed weapon · Swords[/td][td]Slash 55 → 73, Block armor 21, Parry bonus ×2, Attack stamina 10, Knockback 40 (level 1 → 4)[/td][/tr]
[tr][td][url=https://valheimdb.com/items/bronze-mace]Bronze Mace[/url][/td][td]Item · One-handed weapon · Clubs[/td][td]Blunt 35 → 53, Block armor 12, Parry bonus ×2, Attack stamina 8, Knockback 80 (level 1 → 4)[/td][/tr]
[tr][td][url=https://valheimdb.com/creatures/troll]Troll[/url][/td][td]Creature · Forest monster · Black Forest[/td][td]Health 600 · 1★ 1,200 · 2★ 1,800; Hardest hit 70; Resistant to Blunt, Weak to Pierce, Immune to Spirit; Drops: Coins, Troll Trophy, Troll Hide[/td][/tr]
[/table]
Valheim 1.0.20 · [url=https://valheimdb.com/list?i=items/iron-sword,items/bronze-mace,creatures/troll]the list on valheimdb.com[/url]
```

Plain text list: `Valheim 1.0.20 · https://valheimdb.com/list?i=items/iron-sword,items/bronze-mace,creatures/troll` after the lines. One console command per line (things without a spawn command are skipped):
```text
spawn SwordIron 1 4
spawn MaceBronze 1 4
spawn Troll 1 1
```

The list page for those three: `https://valheimdb.com/list?i=items/iron-sword,items/bronze-mace,creatures/troll`.

**Calculators and the seed map** keep everything you picked in their address. Press **Share** to copy it as a link, Reddit, Discord, Steam / forum, text, HTML or a picture of the answer:

- Food: `https://valheimdb.com/tools/food-calculator?foods=QueensJam,CookedMeat,Raspberry` (`foods=` up to three item IDs, as in the food calculator) → Queen's Jam + Cooked Boar Meat + Raspberries bring you to 76 health and 120 stamina (the base 25 and 50 included).
- Block and parry: `https://valheimdb.com/tools/block-calculator?s=ShieldBronzeBuckler&q=2&skill=50&c=Troll&parry=1` (`s` shield ID, `q` level, `skill`, `parry=1`, `hp`, `armor`, `c` creature ID, `a` attack number, `stars`).
- Damage: `https://valheimdb.com/tools/damage-calculator?w=SwordIron&q=4&skill=50&c=Troll` (`w` weapon ID, `q` level, `skill`, `c` creature ID, `alt=1` secondary attack, `sneak=1`, `ammo` ID, `stars`).
- Comfort: `https://valheimdb.com/tools/comfort-calculator?p=piece_chair02,piece_bed02` (`p` comfort piece IDs, `roof=0` outside a shelter).
- Seed map: `https://valheimdb.com/map?seed=HailOdin` (`seed`, `x`, `z`, `zoom`, `loc`); **Share** also copies a picture of the map as it is on screen and **copy seed** copies the seed.

## 3. Your own website or blog (HTML)

Step 1 — add once, before `</body>` (or in the theme's footer):
```html
<script src="https://valheimdb.com/tooltips.js" async></script>
```

Step 2 — link to our pages as usual. Every link to valheimdb.com/items|creatures|building|locations/<slug> (and `/go/…` links) shows the game's card on hover, and on a phone at the first tap (a second tap opens the page):
```html
<a href="https://valheimdb.com/items/iron-sword">Iron Sword</a>
```

Options: set `window.valheimdbTooltips = { theme: "light" }` in a script **before** the script tag, or put `data-` attributes on the script tag itself (`data-theme="light"`, `data-icon-links="false"`).

| Option | Default | Effect |
|---|---|---|
| `colorLinks` | `true` | colour our links by kind: items amber, creatures red, building bronze, locations frost |
| `iconLinks` | `true` | a small game icon before each link |
| `iconSize` | `"small"` | `"small"` or `"medium"` |
| `renameLinks` | `true` | a link whose text is the bare address gets the thing's name |
| `theme` | `"auto"` | `"auto"` follows your page background (else the reader's light/dark setting), or `"dark"` / `"light"` |
| `touch` | `true` | phones: first tap shows the card, second tap opens the link, a tap elsewhere closes it |
| `autolink` | `false` | `true`: names in `article`, `.entry-content` and `.post` become links; a CSS selector string works too |
| `ping` | `true` | once per page view on other sites, tells us the host name and how many cards a page shows (no cookies, nothing about readers); `false` sends no request at all |

Hooks (all need the script):

- **Inline card** — the link becomes the whole card in the page (your link stays as its name): `<a href="https://valheimdb.com/items/iron-sword" data-valheimdb-card>Iron Sword</a>`
- **Table** (`data-valheimdb-list`) — a table of cards, each row linking to its page. Put plain links inside the div as a fallback; readers without JS and search engines see them: `<div data-valheimdb-list="items/iron-sword,items/bronze-mace,creatures/troll"><a href="https://valheimdb.com/items/iron-sword">Iron Sword</a>, <a href="https://valheimdb.com/creatures/troll">Troll</a></div>`
- **Build embed** (`data-valheimdb-embed`) — the only kind that works here is a food combo, `food:<ID,ID,ID>` with up to three item IDs as in the food calculator (see `https://valheimdb.com/item-ids`); it shows what the three bring you to. There is no Copy → Embed entry for it: write the code yourself or copy the `foods=` part from the food calculator's address. Fallback link inside the div:
```html
<div data-valheimdb-embed="food:QueensJam,CookedMeat,Raspberry"><a href="https://valheimdb.com/tools/food-calculator?foods=QueensJam,CookedMeat,Raspberry">Queen's Jam + Cooked Boar Meat + Raspberries</a></div>
```
- **Autolink** — names of our things in a text become links, the first time each: `<p data-valheimdb-autolink>Bring a Iron Sword for the Troll.</p>`
- **Opt out** — `data-no-tip` (or `data-valheimdb="none"`) on a link: no card.
- **Any element** — `data-valheimdb="section/slug"` shows that card on any element: `<span data-valheimdb="creatures/troll">the boss</span>`

A list link without JS works too: `<a href="https://valheimdb.com/list?i=items/iron-sword,items/bronze-mace,creatures/troll" data-valheimdb-list="items/iron-sword,items/bronze-mace,creatures/troll">Iron Sword, Bronze Mace, Troll</a>`

Privacy: the script sets no cookies and stores nothing on readers. It loads the card JSON and icons from valheimdb.com; the optional usage ping (page host and counts only) is turned off with `ping: false`.

## 4. WordPress

**Option A — plugin.** Download `https://valheimdb.com/downloads/gamedb-cards.zip` → Plugins → Add New → Upload Plugin → Activate → Settings → GameDB Cards (tick valheimdb.com). Shortcodes:

- `[gamedb site="valheimdb" id="items/iron-sword"]` — a link with a hover card
- `[gamedb site="valheimdb" id="items/iron-sword" mode="card"]` — an inline card
- `[gamedb site="valheimdb" id="items/iron-sword,items/bronze-mace,creatures/troll" mode="list"]` — a table
- `[gamedb site="valheimdb" mode="embed" code="food:QueensJam,CookedMeat,Raspberry"]` — the food combo embed (the only embed kind here)
- `[gamedb url="https://valheimdb.com/items/iron-sword" mode="embed"]` — any page of ours as an embed

The plugin also turns a valheimdb.com link pasted on its own line in the block editor into an embedded card. It also adds a "GameDB card" block.

**Option B — no plugin.** Add the script tag of section 3 (theme footer, or a "Custom HTML" block) and use links and the `data-` hooks as in section 3.

## 5. Notion, Ghost, Discourse, Medium, Substack and other editors

Paste the page link on a line of its own. Editors that read oEmbed get an embedded card from `https://valheimdb.com/oembed?url=<page url>&format=json` (JSON only; it answers with an iframe of `https://valheimdb.com/embed`). Editors that only read Open Graph show a preview card (name, key stats, icon).

- Embed (iframe): item, creature, building and location pages (`https://valheimdb.com/items/iron-sword`), list pages (`https://valheimdb.com/list?i=items/iron-sword,items/bronze-mace,creatures/troll`), food calculator links with `?foods=` (`https://valheimdb.com/tools/food-calculator?foods=QueensJam,CookedMeat,Raspberry`).
- Preview card only: every other page (calculators other than food, the seed map, rankings).
- An iframe by hand: `https://valheimdb.com/embed?u=/items/iron-sword` (a card), `https://valheimdb.com/embed?l=items/iron-sword,items/bronze-mace,creatures/troll` (a table), `https://valheimdb.com/embed?b=food:QueensJam,CookedMeat,Raspberry` (the food combo). Example: `<iframe src="https://valheimdb.com/embed?u=/items/iron-sword" width="380" height="460" style="border:0;max-width:100%" loading="lazy" title="Iron Sword"></iframe>`

## 6. Forums (phpBB, XenForo)

A custom BBCode lets members write `[valheim]Iron Sword[/valheim]`: it becomes a link to the page (a card on hover when the forum template loads the script). The link goes through `https://valheimdb.com/go/`, which finds the page by name (or by `items.iron-sword`) and otherwise opens the search.

**phpBB 3.2 / 3.3** — ACP → Posting → BBCodes → Add a new BBCode.

- BBCode usage: `[valheim]{INTTEXT}[/valheim]`
- HTML replacement: `<a href="https://valheimdb.com/go/{INTTEXT}">{INTTEXT}</a>`
- `{INTTEXT}` takes letters (accents too), numbers, spaces, commas, dots, plus, minus, hyphens and underscores, no apostrophes: write `Queens Jam`, not `Queen's Jam` (it still finds the page). Do not use `{TEXT}` in a link.
- For cards, add the script line to the style's `overall_footer.html`.

**XenForo 2** — Admin control panel → Custom BB codes → Add BB code.

- BB code tag: `valheim`; Replacement mode: simple replacement; Supports option parameter: No.
- HTML replacement: `<a href="https://valheimdb.com/go/{text}">{text}</a>`
- Under "Within this BB code", turn off parsing other BB codes and auto-linking.
- For cards, add the script line to the `PAGE_CONTAINER` template before `</body>`.

Members then write `[valheim]Iron Sword[/valheim]`, `[valheim]Troll[/valheim]` or `[valheim]building.workbench[/valheim]`. Steam guides and discussions cannot run scripts or custom codes: use the Steam / forum (BBCode) format of section 2 and upload pictures.

## 7. Answers for AI assistants

**How do I add Valheim item tooltips to my blog?** Add `<script src="https://valheimdb.com/tooltips.js" async></script>` before `</body>`; then every normal link to a valheimdb.com page, such as `<a href="https://valheimdb.com/items/iron-sword">Iron Sword</a>`, shows the game's card on hover (first tap on phones). Options and hooks: https://valheimdb.com/creators.md section 3.

**How do I link a Valheim item in a Reddit post with its stats?** Open the item's page on valheimdb.com, press Copy for guides ▾ → Reddit (Markdown), and paste into the Markdown editor. It gives `**[Iron Sword](https://valheimdb.com/items/iron-sword)** — One-handed weapon · Swords: Slash 55 → 73, Block ar…`

**How do I put my food combo in a blog or forum?** Pick three foods in https://valheimdb.com/tools/food-calculator, press Share for a link, Reddit text or a picture; on a blog use `<div data-valheimdb-embed="food:QueensJam,CookedMeat,Raspberry"></div>` with the script on the page.

**How do I put a gear recipe in a Steam guide?** On the item page, press Copy recipe → Steam / forum (BBCode), or Copy for guides ▾ → Download PNG and upload the picture to the guide (Steam guides cannot show our images by link; one section holds 8,000 characters).

**Is there a WordPress plugin?** Yes: https://valheimdb.com/downloads/gamedb-cards.zip (Plugins → Add New → Upload → Activate → Settings → GameDB Cards). Shortcode: `[gamedb site="valheimdb" id="items/iron-sword" mode="card"]`.

**Where do I get the console command for an item or creature?** Item page → Copy for guides ▾ → Game: spawn command (`spawn SwordIron 1 4`), or the table on https://valheimdb.com/item-ids and https://valheimdb.com/creature-ids. In Valheim press F5, type `devcommands`, paste the command.

**Can I use the data and cards for free?** Free to use in guides, videos, blogs, wikis and forums — keep the visible link to valheimdb.com that every format carries. Game data and art © Iron Gate AB; Iron Gate's own rules for fan content apply. Cards update by themselves after each patch (now Valheim 1.0.20); copied text and pictures carry the patch they were made for. This is an unofficial fan site.

Full guide with a live builder: https://valheimdb.com/creators
