Astro vs Next.js for Indie Makers: Site, Blog and Docs (2026)

For a marketing site, blog and docs, Astro is the better default: pages prerender to static HTML with no client-side JavaScript unless you add an island, and content collections give you typed Markdown out of the box. Next.js wins when the marketing site and the logged-in app should be one React codebase, or when you need server features like ISR, Proxy or Server Actions. Both now run on Cloudflare, Netlify and Vercel, so hosting is no longer the deciding factor.

Editorial title card reading "Astro vs Next.js for Indie Makers: Site, Blog and Docs (2026)" beside the orange ZeroRaised mark.

Key takeaways

  • Astro prerenders pages to static HTML by default and only ships JavaScript for components you mark with a client: directive. Next.js App Router pages are Server Components by default, but the page still hydrates through React on the client.
  • Astro has typed content collections built in (Zod schemas, glob loader). Next.js supports MDX through @next/mdx, which does not support frontmatter by default, so you add a library such as gray-matter.
  • A static Next.js export cannot use ISR, Proxy, Server Actions, cookies, redirects, headers or default image optimization. A static Astro build keeps image optimization because it runs at build time.
  • Cloudflare acquired The Astro Technology Company on 16 Jan 2026; Astro says it stays MIT-licensed and keeps supporting non-Cloudflare hosts. Next.js 16.2 shipped a stable Adapter API, and OpenNext deploys Next.js 16 to Cloudflare Workers.
  • Hosting a static site costs $0 on all three big hosts, but Vercel's Hobby plan is for personal or non-commercial use only, so a business site belongs on Vercel Pro ($20/mo), Cloudflare or Netlify.
On this page 19
  1. TL;DR
  2. Astro vs Next.js at a glance
  3. Islands vs React Server Components
  4. Content: collections vs MDX
  5. i18n, images and SEO plumbing
  6. What needs a server
  7. The Cloudflare acquisition
  8. Hosting and cost for a static marketing site
  9. The one-codebase case
  10. Pick Astro if / pick Next.js if
  11. Migration note
  12. Frequently asked questions
  13. Is Astro or Next.js better for a SaaS landing page?
  14. Does Astro ship any JavaScript by default?
  15. Can I host Next.js somewhere other than Vercel?
  16. Did Cloudflare buying Astro change its licence or hosting?
  17. Can I use Vercel's free plan for my startup's marketing site?
  18. Ship the site, then launch
  19. Sources

Verdict: For a solo founder's marketing site, blog and docs, pick Astro. It prerenders every page to static HTML with no client-side JavaScript unless you opt in, and typed content collections, image optimisation, sitemaps and RSS are first-party. Pick Next.js when you want the marketing pages and the logged-in app in one React codebase, or you need server features (ISR, Proxy, Server Actions) on the public site.

Every version, date, limit and price below comes from the official Astro, Next.js, Cloudflare, Netlify and Vercel pages, checked on 23 Nov 2026. Opinions are labelled "Our read".

TL;DR#

  • Current versions. Astro 7.0 shipped on 22 Jun 2026 and the latest minor is 7.4 (15 Oct 2026) (Astro blog). Next.js 16 shipped on 21 Oct 2025 and the latest minor is 16.4 (6 Oct 2026) (Next.js blog).
  • JavaScript by default. Astro components render "to static HTML with no client-side runtime" (Astro islands). Next.js pages are Server Components, but the client still hydrates via React (Next.js docs).
  • Content. Astro has typed content collections built in. Next.js uses @next/mdx, which "does not support frontmatter by default" (Next.js MDX guide).
  • Ownership. Cloudflare acquired The Astro Technology Company on 16 Jan 2026; Astro "stays open-source and MIT-licensed" (Astro).
  • Hosting. Static output is free on Cloudflare, Netlify and Vercel Hobby, but Hobby is for "personal or non-commercial use" only (Vercel terms).

Disclosure: ZeroRaised publishes this comparison and is a launch site for bootstrapped products. ZeroRaised has no commercial relationship with Astro, Cloudflare, Vercel or Netlify and earns nothing if you pick any of them. Facts come from the linked sources as checked on 23 Nov 2026.

This post is about the pages that sell your app (homepage, pricing, changelog, blog, docs), not the app itself. Those pages are mostly text, need to rank, and change when you write, not when users click.

Astro vs Next.js at a glance#

AstroNext.js
Current release (checked 23 Nov 2026)7.4 (15 Oct 2026); 7.0 on 22 Jun 202616.4 (6 Oct 2026); 16.0 on 21 Oct 2025
Rendering defaultPrerendered static pages at build timeServer Components, static or dynamic per component
Client JS by defaultNone; islands opt in with client:*React runtime plus Client Components you mark 'use client'
UI frameworks.astro, plus React, Preact, Svelte, Vue, SolidJS islandsReact
ContentBuilt-in content collections with Zod schemas@next/mdx (no frontmatter by default) or your own loader
i18ni18n config in astro.configapp/[lang] segment plus Proxy, or a library
Images<Image />, <Picture />, Sharp at build timenext/image; needs a server or custom loader
Sitemap / RSS@astrojs/sitemap, @astrojs/rssapp/sitemap.ts built in; RSS via a Route Handler
Server featuresOpt in per page with an adapterBuilt in; need a Node.js server or adapter
Owner / licenceCloudflare (acquired Jan 2026), MITVercel

Sources: Astro blog, Next.js blog, and the docs pages linked in each section below.

Islands vs React Server Components#

Astro islands. Astro's docs say it works by "stripping out all client-side JavaScript automatically." To make a component interactive you add a directive: "client:idle tells a component to load when the browser becomes idle" and "client:visible tells a component to load only once it enters the viewport." Islands can be React, Preact, Svelte, Vue or SolidJS, mixed on one page. Server islands (server:defer) render dynamic bits, such as a signed-in avatar, separately from the cached page (Astro islands).

Next.js Server Components. In the App Router "layouts and pages are Server Components" by default, and Next.js lists "Reduce the amount of JavaScript sent to the browser" as a reason to keep them that way. On first load, though, the browser gets HTML, an RSC Payload and "JavaScript ... to hydrate Client Components", and once a file is marked 'use client', "all of its imports and the components it directly renders are included in the client bundle" (Next.js docs).

Our read: both models can produce fast pages. The difference is the default. In Astro you add JavaScript on purpose; in Next.js you remove it with discipline. On a blog where nobody is reviewing bundle sizes, the default wins.

Content: collections vs MDX#

Astro's content collections validate frontmatter with a schema and give you TypeScript types. Here is the minimal definition from the Astro docs, in src/content.config.ts:

import { defineCollection } from 'astro:content';
import { glob } from 'astro/loaders';
import { z } from 'astro/zod';

const blog = defineCollection({
  loader: glob({ base: './src/content/blog', pattern: '**/*.{md,mdx}' }),
  schema: z.object({
    title: z.string(),
    description: z.string(),
    pubDate: z.coerce.date(),
    updatedDate: z.coerce.date().optional(),
  }),
});

export const collections = { blog };

Forget a description and the build fails instead of shipping a post with a blank meta tag. The docs say "Schemas also power Astro's automatic TypeScript typings for your content." Build-time collections "are updated at build time", while live collections "fetch their data at runtime rather than build time", which is useful if your posts live in a headless CMS.

Next.js supports local and remote MDX. You install @next/mdx @mdx-js/loader @mdx-js/react @types/mdx, add mdx-components.tsx (it "is required to use @next/mdx with App Router"), and, because frontmatter is not supported by default, add something like remark-frontmatter or gray-matter. To build a blog index, the docs suggest reading the folder with Node's fs or globby (Next.js MDX guide).

Our read: Next.js can do everything Astro's collections do, but you assemble and maintain it. If you plan to write a CMS-backed blog instead of Markdown files, see our headless CMS comparison for indie makers first; both frameworks work with the usual options.

i18n, images and SEO plumbing#

i18n. Astro has built-in i18n routing: set locales and a defaultLocale in the i18n object in astro.config.mjs (Astro i18n). In Next.js App Router you nest routes under app/[lang] and redirect users to a locale "inside Proxy", or use a library such as next-intl (Next.js i18n). Note that a locale redirect in Proxy needs a server.

Images. Astro's <Image /> can "transform a local or authorized remote image's dimensions, file type, and quality", "Sharp is the default image service", and the transformation "happens at build time for prerendered pages" (Astro images). So a fully static Astro site still gets optimised images. Next.js next/image with the default loader needs a server; on a static export you must define a custom loader, for example Cloudinary (Next.js static exports).

Sitemaps and RSS. Astro's @astrojs/sitemap "generates a sitemap based on your pages when you build your Astro project" and needs the site option set (Astro sitemap). @astrojs/rss "provides helpers for generating RSS feeds using API endpoints" and can read straight from content collections (Astro RSS). Next.js has a built-in app/sitemap.ts convention that returns an array of URLs, with image, video and localised sitemap support (Next.js sitemap). We did not find a first-party RSS helper in the Next.js docs; the usual route is a GET Route Handler that returns XML.

What needs a server#

Astro: "By default, Astro pages, routes, and API endpoints will be pre-rendered at build time as static pages." To render anything on demand "you need to add an adapter", and Astro maintains official adapters for Node.js, Netlify, Vercel and Cloudflare. You opt a single page out with export const prerender = false (Astro on-demand rendering).

Next.js: "To run Next.js, your platform needs a Node.js server. That's it." A single next start process handles Server Components, ISR, PPR, Cache Components, Server Actions and Proxy (Deploying to platforms). You can also output: 'export' to plain HTML, but then these are unsupported: dynamic routes without generateStaticParams(), Route Handlers that rely on Request, cookies, rewrites, redirects, headers, Proxy, ISR, image optimisation with the default loader, Draft Mode, Server Actions and intercepting routes (Next.js static exports).

Running Next.js off Vercel. Next.js 16.2 introduced a stable Adapter API built with OpenNext, Netlify, Cloudflare, AWS Amplify and Google Cloud. At the 25 Mar 2026 announcement it shipped with Vercel and Bun adapters, with Netlify, Cloudflare and AWS (through OpenNext) adapters "in active development" (Next.js blog). Today, OpenNext's Cloudflare adapter "lets you deploy Next.js apps to Cloudflare Workers", supports "all minor and patch versions of Next.js 16", and lists ISR, middleware, image optimisation and PPR as supported, with Node middleware (proxy.ts) marked experimental (OpenNext Cloudflare).

The Cloudflare acquisition#

On 16 Jan 2026, Astro announced that "The Astro Technology Company ... is joining Cloudflare." The post says "Astro stays open-source and MIT-licensed" and "Astro continues to support a wide set of deployment targets, not just Cloudflare", promising to "support and improve deployments for all targets" (Astro; Cloudflare blog).

Our read: the MIT licence and the official Netlify and Vercel adapters keep lock-in risk low. Expect the Cloudflare path to get the most polish, as Next.js does on Vercel. Neither framework is host-neutral now.

Hosting and cost for a static marketing site#

HostFree plan (static)CatchEntry paid plan
Cloudflare (Workers static assets / Pages)Workers: "Requests to static assets are free and unlimited." Pages Free: 500 builds a month, 20,000 files per site, 100 custom domains per project25 MiB max per file; Workers Free caps dynamic requests at 100,000 per dayWorkers Paid, minimum $5/mo
NetlifyFree: 300 credits a month, hard limitA production deploy costs 15 credits, 1 GB of bandwidth 20 credits, 10,000 web requests 2 creditsPersonal: $9/mo, 1,000 credits
VercelHobby: 100 GB Fast Data Transfer, 1M CDN requests, 5,000 image transformations a month"Personal or non-commercial use" only; you cannot buy extra usagePro: $20/mo with $20 included credit

Sources: Cloudflare Workers pricing, Cloudflare Pages limits, Netlify credit-based plans, Netlify pricing, Vercel pricing, Vercel Hobby, Vercel terms.

Worked example (illustrative). Say you deploy your marketing site 20 times a month on Netlify Free. Deploys alone use 20 x 15 = 300 credits, the whole allowance, before any bandwidth. Batch your blog posts, or deploy previews instead of production, or host the static build on Cloudflare where static asset requests are free. On Vercel, the same site is free on Hobby only if it is not commercial, so a startup site is realistically $20/mo on Pro.

For a deeper host comparison, read Vercel vs Cloudflare Pages for indie makers.

The one-codebase case#

The strongest argument for Next.js on the marketing site is that your app is already Next.js. One repo means shared components, one design system, one auth session (so the homepage can show "Go to dashboard" to signed-in users) and one deploy.

Our read: that is worth it if the app is small and you are the only developer. The costs are that marketing pages inherit the app's server requirements and bundle habits, and a content tweak triggers an app deploy. A common split is www. on Astro and app. on Next.js. Astro can even reuse your React components as islands, so the design system still carries over.

Pick Astro if / pick Next.js if#

Our read, based on the docs above:

Pick Astro if:

  • the site is mostly content: landing pages, blog, changelog, docs;
  • you want zero client JavaScript by default and typed Markdown without plumbing;
  • you want optimised images and sitemaps on a fully static, free host;
  • you might use Vue, Svelte or plain HTML for parts of the site.

Pick Next.js if:

  • your app is Next.js and you want one codebase and one design system;
  • public pages need ISR, Proxy (geo or locale redirects), Server Actions or personalised content;
  • you are already paying for Vercel Pro or a server, so server features cost you nothing extra;
  • your team only knows React and does not want a second component syntax.

Migration note#

Moving a Next.js marketing site to Astro is usually mechanical: Markdown and MDX files move into a content collection folder, React components can be reused as islands, and you rebuild layouts as .astro files. The parts to plan are anything that relied on a server: redirects, rewrites and headers move to your host's config, and Proxy logic moves to an Astro on-demand route with an adapter. The reverse move means rewriting .astro components in React. Either way, keep URLs identical and set up redirects for any that change, so you do not lose search rankings.

Frequently asked questions#

Is Astro or Next.js better for a SaaS landing page?#

For a landing page, blog and docs on their own, Astro is usually the better fit: it prerenders static HTML with zero client-side JavaScript by default, has typed content collections built in, and adds sitemaps and RSS with official packages. Pick Next.js if the landing page lives in the same React codebase as your app or needs server features such as ISR or Proxy.

Does Astro ship any JavaScript by default?#

No. Astro's docs say components render to static HTML with no client-side runtime. JavaScript is only sent for interactive islands you opt into with a client directive such as client:load, client:idle or client:visible.

Can I host Next.js somewhere other than Vercel?#

Yes. The Next.js docs say a single Node.js server running next start handles every feature. Next.js 16.2 added a stable Adapter API, Vercel and Bun adapters ship under the Next.js GitHub organisation, and the OpenNext Cloudflare adapter deploys Next.js 16 to Cloudflare Workers. A static export can go on any static host but loses server features.

Did Cloudflare buying Astro change its licence or hosting?#

Astro's own announcement on 16 Jan 2026 says Astro stays open source and MIT-licensed and continues to support a wide set of deployment targets, not just Cloudflare. Astro still maintains official adapters for Node.js, Netlify, Vercel and Cloudflare.

Can I use Vercel's free plan for my startup's marketing site?#

Vercel's terms say Hobby plan services may only be used for personal or non-commercial use. A company marketing site is a commercial use case in our reading, so plan for Vercel Pro at $20/mo, or host the static build free on Cloudflare (Workers static asset requests are free and unlimited) or Netlify's Free plan (300 credits a month).

Ship the site, then launch#

The framework matters less than shipping the page. Once your site, pricing page and first blog post are live, run through our product launch checklist for bootstrapped makers, then launch on ZeroRaised for free. For more comparisons like this one, join the ZeroRaised newsletter.

Sources#

All last checked 23 Nov 2026.

Frequently asked questions

Is Astro or Next.js better for a SaaS landing page?

For a landing page, blog and docs on their own, Astro is usually the better fit: it prerenders static HTML with zero client-side JavaScript by default, has typed content collections built in, and adds sitemaps and RSS with official packages. Pick Next.js if the landing page lives in the same React codebase as your app or needs server features such as ISR or Proxy.

Does Astro ship any JavaScript by default?

No. Astro's docs say components render to static HTML with no client-side runtime. JavaScript is only sent for interactive islands you opt into with a client directive such as client:load, client:idle or client:visible.

Can I host Next.js somewhere other than Vercel?

Yes. The Next.js docs say a single Node.js server running next start handles every feature. Next.js 16.2 added a stable Adapter API, Vercel and Bun adapters ship under the Next.js GitHub organisation, and the OpenNext Cloudflare adapter deploys Next.js 16 to Cloudflare Workers. A static export can go on any static host but loses server features.

Did Cloudflare buying Astro change its licence or hosting?

Astro's own announcement on 16 Jan 2026 says Astro stays open source and MIT-licensed and continues to support a wide set of deployment targets, not just Cloudflare. Astro still maintains official adapters for Node.js, Netlify, Vercel and Cloudflare.

Can I use Vercel's free plan for my startup's marketing site?

Vercel's terms say Hobby plan services may only be used for personal or non-commercial use. A company marketing site is a commercial use case in our reading, so plan for Vercel Pro at $20/mo, or host the static build free on Cloudflare (Workers static asset requests are free and unlimited) or Netlify's Free plan (300 credits a month).