Web Development · head to head
Gatsby vs Starlight

Gatsby
Web Development
Open-source React framework for building websites and apps
- From
- Free
- Free plan
- Yes

Starlight
Documentation
Documentation site framework built on Astro that ships no JavaScript to the reader by default
- From
- Free
- Free plan
- Yes
The short version
- Both are free.
- Only Gatsby lists GraphQL data layer; only Starlight lists pagefind search.
- Where Gatsby falls short: Gatsby Cloud hosting ended in August 2023 and was merged into Netlify.
How do Gatsby and Starlight differ?
Gatsby and Starlight differ on pricing model, platforms and category (Web Development against Documentation). Only the attributes on which Gatsby and Starlight actually diverge.
Identical on both: starting price (Free), free tier (Yes).
Which features does each one have?
They share no listed features; 8 appear only for Gatsby and 7 only for Starlight. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.
Only in Gatsby
- React-based component development
- GraphQL data layer
- Plugin and theme ecosystem
- Static site generation
- Server-side rendering
- Deferred Static Generation
- Headless CMS integration
- Cloud Functions support
Only in Starlight
- File based routing
- Pagefind search
- Internationalisation
- Component overrides
- Zero client JavaScript
- Expressive Code blocks
- Auto generated sidebar
What is each one used for?
Gatsby is most often brought in for marketing sites pulling content from a headless CMS. The jobs each tool is most often brought in to do.
Gatsby
- Marketing sites pulling content from a headless CMSnot Starlight
- Blogs and documentation sites built in Reactnot Starlight
- Static sites with image optimisation pluginsnot Starlight
- Migrating existing Gatsby Cloud sites to Netlifynot Starlight
Starlight
- A developer tool whose docs live in the same repository as the code and are reviewed in the same pull requestnot Gatsby
- A team that already runs Astro for its marketing site and wants one build pipeline for bothnot Gatsby
- Documentation that must be served from a CDN or an air gapped static host with no search backendnot Gatsby
- A multilingual open source project that needs per locale content trees and untranslated page fallbacknot Gatsby
Where do Gatsby and Starlight fall short?
Gatsby's most cited limit: Gatsby Cloud hosting ended in August 2023 and was merged into Netlify. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Gatsby
- Gatsby Cloud hosting ended in August 2023 and was merged into Netlify
- The GitHub repository's releases section is empty, so release cadence is unclear
- Requires React and GraphQL knowledge; there is no visual editor
- Hosting, CMS and build services are paid separately
- Official hosting guidance now centres on Netlify
Starlight
- 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
How much do Gatsby and Starlight cost?
Gatsby is free to use; Starlight is free to use. Plan by plan below, from each vendor's own pricing page.
Gatsby
FreeNo published plan breakdown. See the Gatsby review.
Starlight
Free- Open sourceFree
- MIT licence
- All features included
- Self hosted on any static host
Which should you pick?
Choose Gatsby if
- You need react-based component development.
- You want to start without paying.
- You work on Web, Windows, macOS, Linux.
- You also want graphql data layer.
Choose Starlight if
- You need file based routing.
- You want to start without paying.
- You work on Web, macOS, Windows, Linux.
- You also want pagefind search.
Questions people ask
- Is Gatsby or Starlight better?
- It depends on the job. Gatsby fits marketing sites pulling content from a headless CMS; Starlight fits a developer tool whose docs live in the same repository as the code and are reviewed in the same pull request. Gatsby starts at Free and Starlight at Free.
- Which is cheaper, Gatsby or Starlight?
- Gatsby starts at Free and Starlight at Free.
- Does Gatsby or Starlight run on more platforms?
- Gatsby runs on Web, Windows, macOS, Linux. Starlight runs on Web, macOS, Windows, Linux.
- Can I use Gatsby for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is Gatsby best used for?
- Gatsby is most often used for marketing sites pulling content from a headless cms, blogs and documentation sites built in react, static sites with image optimisation plugins, migrating existing gatsby cloud sites to netlify. Of those, marketing sites pulling content from a headless cms and blogs and documentation sites built in react are not what Starlight is typically brought in for.
- What can Gatsby do that Starlight cannot?
- Gatsby covers React-based component development, GraphQL data layer, Plugin and theme ecosystem, Static site generation. Starlight covers File based routing, Pagefind search, Internationalisation, Component overrides.
Answered from the vendors’ own pages
Gatsby: Is Gatsby free?
Yes. Gatsby is open source under the MIT License, and the project site lists no paid Gatsby plans. You pay separately for hosting and any CMS you connect.
SourceStarlight: 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.
Gatsby: What happened to Gatsby Cloud?
Netlify acquired Gatsby, Inc. in February 2023 and ended Gatsby Cloud in August 2023, folding it into Netlify. The Gatsby site offers migration paths to Netlify.
SourceStarlight: 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.
Gatsby: Does Gatsby support server-side rendering?
Yes. Wikipedia says version 4 added server-side rendering and Deferred Static Generation alongside static generation. The Gatsby site also mentions Cloud Functions.
SourceStarlight: 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.
Starlight: 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.
Starlight: 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.
Related pages
Other head to heads
- Gatsby vs Docusaurus
- Gatsby vs Remix
- Gatsby vs Next.js
- Gatsby vs Hugo
- Gatsby vs Eleventy
- Gatsby vs Astro
- Gatsby vs Netlify
- Gatsby vs React
- Gatsby vs Base UI
- Gatsby vs TanStack Start
- Gatsby vs MUI
- Gatsby vs esbuild
- Gatsby vs Mantine
- Gatsby vs Nuxt
- Gatsby vs Rollup
- Gatsby vs shadcn/ui
- Gatsby vs Angular
- Gatsby vs Vercel
- Gatsby vs MkDocs
- Gatsby vs VitePress
- Gatsby vs Fumadocs
- Gatsby vs Antora
- Gatsby vs Mintlify
- Gatsby vs Docsify
- Gatsby vs Nextra
- Gatsby vs Archbee
- Gatsby vs Scalar
- Gatsby vs HelpDocs
- Gatsby vs Confluence
- Gatsby vs Nuclino
- Gatsby vs MadCap Flare
- Gatsby vs Adobe RoboHelp
- Gatsby vs Doxygen
- Gatsby vs Scribe
- Gatsby vs Tettra
- Gatsby vs Guru (knowledge platform)
- Starlight vs Docusaurus
- Starlight vs Remix
- Starlight vs Next.js
- Starlight vs Hugo
- Starlight vs Eleventy
- Starlight vs Astro
- Starlight vs Netlify
- Starlight vs React
- Starlight vs Base UI
- Starlight vs TanStack Start
- Starlight vs MUI
- Starlight vs esbuild
- Starlight vs Mantine
- Starlight vs Nuxt
- Starlight vs Rollup
- Starlight vs shadcn/ui
- Starlight vs Angular
- Starlight vs Vercel
- Starlight vs MkDocs
- Starlight vs VitePress
- Starlight vs Fumadocs
- Starlight vs Antora
- Starlight vs Mintlify
- Starlight vs Docsify
- Starlight vs Nextra
- Starlight vs Archbee
- Starlight vs Scalar
- Starlight vs HelpDocs
- Starlight vs Confluence
- Starlight vs Nuclino
- Starlight vs MadCap Flare
- Starlight vs Adobe RoboHelp
- Starlight vs Doxygen
- Starlight vs Scribe
- Starlight vs Tettra
- Starlight vs Guru (knowledge platform)
