WriteIDEA studio for LitRPG authors
All tools

[ Tool ] · Free and offline

Royal Road Table Generator

Build a Royal Road table without hand nesting the tags. Add rows and columns, edit each cell, tag items with a loot rarity, and copy clean BBCode or HTML the Royal Road editor accepts. It opens on a filled inventory table, so the output is there on first paint.

Load a filled table, then edit any cell. Editing does not change the example buttons.

H
1
2
3

Tab moves between cells. Press Enter in the last row to add a row. Up to 8 columns and 20 rows.

Click a cell above, then pick a rarity. The cell text is coloured and its rarity name stays as the text, so the tier reads without colour too.

Alignment
Preview

An approximation. Royal Road draws its own thin cell border on the published page, so the live table looks very close to this.

ItemRarityQty
Rusted ShortswordCommon1
Ember VialUncommon3
Crown of the Drowned KingLegendary1
Made with writeide.com
[table]
[tr][th]Item[/th][th]Rarity[/th][th]Qty[/th][/tr]
[tr][td]Rusted Shortsword[/td][td][color=gray]Common[/color][/td][td]1[/td][/tr]
[tr][td]Ember Vial[/td][td][color=green]Uncommon[/color][/td][td]3[/td][/tr]
[tr][td]Crown of the Drowned King[/td][td][color=orange]Legendary[/color][/td][td]1[/td][/tr]
[/table]

BBCode is the default and still renders on Royal Road. HTML is the durable path for when the editor prefers it. Both produce the same table.

Where to paste it

  1. Open your chapter in the Royal Road editor, or a new chapter.
  2. For BBCode, paste it straight into the editor where you want the table.
  3. For HTML, click the source code button (the <> icon) first, paste, then switch back out of source view.
  4. The table shows up as a grid you can still edit by hand.

BBCode or HTML, and why the tags stay balanced

  • The tool owns the nesting. A Royal Road table nests three tags deep, and one missing closing tag collapses the whole grid. Every row and cell here is generated as a matched pair, so the output is always balanced.
  • BBCode is the default because that is what people search for, and it still renders on Royal Road today. Colours use named colours such as orange and green, not hex, which is what Royal Road accepts inside a colour tag.
  • HTML is the durable path. Royal Road is moving its editor to HTML, so the toggle gives you an inline styled table with no CSS classes, which the editor keeps on the published page.
  • Rarity is a colour and a word. A tagged cell is coloured by its tier, and the tier name stays in the cell text, so the rarity reads even if a reader does not see the colour the usual way.

WriteIDE does this for your whole book, automatically

This tool handles one at a time. WriteIDE is the desktop studio that tracks LitRPG stats, items, skills, and quests across a whole novel, and keeps them correct at every scene.

Runs in your browser. Nothing you type is sent anywhere, and it keeps working with your network off.
Made with writeide.com
More free tools