Create Confluence Pages from an Excel Spreadsheet

One page per row is a common need, and Confluence Cloud has no native button for it. Here is what works.

Why Confluence has no "import rows as pages"

Confluence Cloud can import a Word document as a single page, and it can import whole spaces from other wikis. What it cannot do is read a spreadsheet and create a separate page for each row. Teams with a list of customers, projects, assets, or runbooks end up creating pages by hand, or writing a script against the REST API.

A script works, but it has to deal with page titles that already exist, parent pages that must be created first, labels, and API rate limits. A half-finished run that creates 300 of 500 pages is hard to clean up.

What a safe bulk create needs

  • A title column, plus a template for the body, so every page has the same structure.
  • Placeholders such as {{Customer}} or {{Owner}} that fill in from each row.
  • A dry run that reports, for every row, whether it would create, skip, update, or fail, before anything is written.
  • A rule for duplicates: a page with the same title under the same parent should be skipped or updated, not duplicated.
  • A result report that links each created page, so you can check the run.

Steps

  1. Put one page per row in the sheet, with a header row. Keep titles unique within the target parent.
  2. Write the template: either a simple table of all columns, or an existing page whose body uses {{Column Name}} placeholders.
  3. Choose the space and the parent page the new pages go under.
  4. Run a dry run and fix any row reported as an error, such as a missing title or a duplicate in the file.
  5. Create the pages, then download the per-row result and spot-check a few pages.

For a page tree rather than a flat list, see creating a Confluence page hierarchy from a spreadsheet.

Do it without a script

Bulk Page Creator for Confluence reads .xlsx, .csv, and .tsv files in your browser, fills a template per row, shows a dry run, and creates the pages as you, up to 500 rows per run. Nothing is sent to Cody Labs.

See Bulk Page Creator for Confluence