Softwr
Starlight logo

Starlight

Documentation site framework built on Astro that ships no JavaScript to the reader by default

As of 20 November 2026, Starlight is free to use. Starlight is the documentation theme maintained by the Astro core team, so its release cadence follows Astro rather than a separate product roadmap. Softwr lists it under Documentation. Starlight is made by The Astro Technology Company, available on Web, macOS, Windows, Linux.

Overview

What is Starlight?

Starlight is an Astro integration that turns a directory of Markdown or MDX files into a documentation site with sidebar navigation, versioned page metadata, internationalisation, dark mode and client side search. Search is handled by Pagefind, which builds a static index at compile time rather than calling a hosted search service, so a site can be served from any static host with no runtime dependency at all. What separates it from the other Astro themes is governance. Starlight is maintained inside the Astro organisation by the same people who ship Astro itself, and Astro uses it for its own documentation. That matters commercially because documentation themes are the most abandoned category in the JavaScript ecosystem, and a theme that the framework authors depend on for their own site is unlikely to be left unpatched after a major version bump. The cost is coupling: an Astro major release is also a Starlight migration. The buyers are engineering teams shipping developer facing products where the docs live in the same repository as the code and change in the same pull request. The trade off is the one that runs through every static generator. Build speed and the ability to review docs as code pull one way; letting a technical writer or a product manager publish a correction without cloning a repository, installing Node and waiting for CI pulls the other. Starlight chooses the first without hesitation, and offers nothing for the second.

What people use it for

  • A developer tool whose docs live in the same repository as the code and are reviewed in the same pull request
  • A team that already runs Astro for its marketing site and wants one build pipeline for both
  • Documentation that must be served from a CDN or an air gapped static host with no search backend
  • A multilingual open source project that needs per locale content trees and untranslated page fallback

The honest half

Where does Starlight fall short?

Each is concrete and checkable: the half of a review a vendor will not write.

  • There is no editing interface, so every correction requires a git client, a Node install and a CI run, which puts documentation changes out of reach for anyone who does not already work in a repository.
  • Starlight versions track Astro versions, so an Astro major release becomes a documentation site migration on someone else timeline rather than yours.
  • Pagefind builds the whole search index at compile time, so build duration and index size grow with page count and large documentation sets pay for it on every deploy.
  • There is no analytics, no feedback widget and no page level rating built in, so measuring which pages fail readers means wiring a third party script yourself.
  • Component overrides are limited to the slots the theme exposes, and anything outside those slots means forking the theme and inheriting the merge burden on every upgrade.

Cross-shopped

What are the alternatives to Starlight?

The closest alternatives to Starlight are Docusaurus, MkDocs and Mintlify. Each is a tool buyers genuinely weigh against it, with the reason why.

  • Starlight vs Docusaurus

    Docusaurus: Larger plugin ecosystem and built in documentation versioning, which Starlight leaves to you

  • Starlight vs MkDocs

    MkDocs: Python toolchain instead of Node, and a lower barrier for teams with no JavaScript build experience

  • Starlight vs Mintlify

    Mintlify: A hosted editor and preview flow for writers who cannot use git, at the cost of a subscription and vendor hosting

  • Starlight vs VitePress

    VitePress: Vue powered static docs generator with similar Markdown first workflow for teams not using Astro.

  • Starlight vs Fumadocs

    Fumadocs: React and Next.js documentation framework for teams already building their site in that stack.

Pricing

How much does Starlight cost?

Starlight is free to use. Taken from the vendor's own pricing page; prices move, so check before you buy.

Open source

Free

  • MIT licence
  • All features included
  • Self hosted on any static host
  • Community support via Discord and GitHub

Capabilities

What can Starlight do?

Starlight lists 7 features, including file based routing, pagefind search and internationalisation.

  • File based routing

    Markdown and MDX files in src/content/docs become pages with no route configuration

  • Pagefind search

    Static search index built at compile time, no hosted search service or API key

  • Internationalisation

    Per locale content trees with fallback to the default language for untranslated pages

  • Component overrides

    Named slots let you replace the header, sidebar or footer without forking the theme

  • Zero client JavaScript

    Pages render as HTML; interactive islands are opt in per component

  • Expressive Code blocks

    Syntax highlighting with line markers, diffs, frames and copy buttons built in

  • Auto generated sidebar

    Sidebar can be derived from the directory structure or declared explicitly in config

Answered, with sources

Questions people ask

Each answer names the page it came from, so you can check it rather than take our word for it.

Can a non technical writer publish a page without help?

No. There is no content management interface. Every change is a commit, a pull request and a build.

Do I need to know Astro to use it?

Not for basic use. Markdown files and a config file are enough until you want custom components, at which point Astro knowledge becomes mandatory.

Is search included or do I pay for it?

Included and free. Pagefind builds a static index at compile time. Algolia DocSearch is optional if you want hosted search instead.

What happens when Astro releases a major version?

Starlight follows it, and your site needs a migration. Read the upgrade guide before pinning a version for a long lived project.

Can I self host with no external services?

Yes. The output is static HTML, CSS and a search index. Nothing calls out at runtime unless you add it.

Checked against

Sources

The pages the facts above were read from. Prices and limits change, so the vendor's own page is the final word.

Share

Keep looking

Where to go from Starlight

Best Documentation software for

Compare Starlight with

Other Documentation software

  • Static site generator for project documentation in Markdown

    Open source11 researched notes
  • Vite powered static site generator for documentation, with instant dev server start and Vue components in Markdown

    Open source15 researched notes
  • Documentation framework for Next.js that treats the docs site as an application rather than a static export

    Open source15 researched notes
  • Static site generator that assembles versioned AsciiDoc documentation from many git repositories

    Open source15 researched notes
  • Documentation site generator that renders markdown in the browser with no build step and no generated HTML

    Open source15 researched notes
  • Next.js based site generator for documentation and blog sites

    Free plan12 researched notes
  • Hosted documentation platform for product and developer docs with a block editor and AI answers

    From $80/mo15 researched notes
  • Open source API reference renderer and request client generated entirely from an OpenAPI document

    Open source16 researched notes
  • Self-service help centre software priced by number of editors, not by readers

    From $99/mo15 researched notes
  • Fast team wiki with list, board and graph views of the same content

    Free, then $6/mo14 researched notes
  • Team knowledge base under the Business Source Licence, self-hostable or vendor hosted

    Free plan16 researched notes
  • Component content management system for technical documentation, licensed per author seat

    From $15,000/yr13 researched notes
  • Hosted API documentation that diffs each new spec against the last and publishes a human readable changelog

    From $50/mo15 researched notes
  • Single-source technical authoring tool sold as a per-author annual subscription

    From $263/mo13 researched notes
  • Long-standing help authoring tool, now sold as an Adobe subscription rather than a perpetual licence

    14 researched notes
  • Free, open source documentation generator that builds reference docs from source code comments

    Open source13 researched notes
  • Turns a screen recording into a narrated step by step how to video and document

    Free, then $19/mo12 researched notes
  • Internal knowledge base with Slack integration and AI answers

    From $8/mo11 researched notes

Softwr does not host reviews and shows no star rating for Starlight, because a rating we did not collect is not ours to publish. What is here is the pricing and platform detail from the vendor’s own pages, limitations we could state concretely, and alternatives a reviewer confirmed people weigh against it. Tell us if any of it is wrong.

More on Starlight

Best Documentation software alternatives

AI knowledge base that keeps company documentation current and searchable

subscription

Free open source wiki software that powers Wikipedia

open-source

Free browser-based word processor with real-time collaboration, part of Google Workspace

freemium

Internal knowledge base with Slack integration and AI answers

subscription

Captures workflows and turns them into step-by-step guides

freemium

Next.js based site generator for documentation and blog sites

open-source

Self-service help centre software priced by number of editors, not by readers

Per editor seat per month

Single-source technical authoring tool sold as a per-author annual subscription

Per author per year, annual subscription only

Compare Starlight with alternatives