Astro 7.2 Available now! →

The web framework for content-driven websites

Astro powers the world’s fastest marketing sites, blogs, e-commerce websites, and more.

Get Started
› npm create astro@latest

Used by the largest companies around the world:

Astro is a JavaScript web framework optimized for building fast, content-driven websites.

Server-First

Astro improves website performance by rendering components on the server, sending lightweight HTML to the browser with zero unnecessary JavaScript overhead.

Content-Driven

Astro was designed to work with your content, no matter where it lives. Load data from your file system, external API, or your favorite CMS.

Customizable

Extend Astro with your favorite tools. Bring your own JavaScript UI components, CSS libraries, themes, integrations, and more.

Astro Islands

Islands optimize your website like no other web framework can. Leverage Astro’s unique page load performance to improve conversion rates, Core Web Vitals, and SEO.

% of real-world sites with good Core Web Vitals

Astro

66%

WordPress

48%

Gatsby

47%

Next.js

30%

Nuxt

28%

View the full dataset · Based on real-world performance data from HTTP Archive and the Chrome UX Report.

Zero Lock-in

Astro supports every major UI framework. Bring your existing components and take advantage of Astro’s optimized client build performance.

src/pages/index.astro
— import Counter from ‘../components/Counter.jsx’ ; — <Counter client:load />
src/pages/index.astro
— import Counter from ‘../components/Counter.vue’ ; — <Counter client:load />
src/pages/index.astro
— import Counter from ‘../components/Counter.jsx’ ; — <Counter client:load />
src/pages/index.astro
— import Counter from ‘../components/Counter.svelte’ ; — <Counter client:load />
src/pages/index.astro
— import Counter from ‘../components/Counter.jsx’ ; — <Counter client:load />

Snapback Cap

$25.00

Add to cart

Fully Featured

Astro comes with everything you need to build a modern website. Need more? Extend Astro with integrations.

Content Collections

Organize your Markdown and MDX with built-in TypeScript type-safety and frontmatter validation.

0

Zero JavaScript, By Default

Astro only ships the JavaScript you need and automatically strips away the rest for a faster website.

View Transitions

Seamlessly morph, fade, and swipe across pages with built-in, browser-native View Transition APIs.

800px · WEBP

3600px · PNG

Optimized Images

Eliminate layout shift and serve optimized, modern image formats with Astro’s built-in components and utilities.

React Vue Svelte Angular Preact Solid Qwik

UI Integrations

Bring your favorite UI frameworks and component libraries with Astro’s flexible island architecture.

pages/ api/ json.ts blog/ [slug].astro 404.astro about.astro index.astro

File-Based Routing

Astro’s flexible routing system lets you understand your site’s structure at a glance.

Middleware

Wrap incoming requests with custom logic like authentication, logging, or data fetching.

Actions

Write type-safe backend functions that you can call directly from your frontend JavaScript client code.

Node.js Cloudflare Vercel Netlify SST Deno AWS

Deployment Adapters

One-line configuration for Netlify, Vercel, AWS, or your favorite hosting platform.

<Logo> <NavLinks> <Hero> <Article> <Video>

Simple Templating

If you know HTML, you already know enough to write your first Astro component. Build powerful server components everyone on your team understands.

Instant Page Loads

Optimize page loading with intelligent automatic prefetching. Pick from the built-in presets or tailor a strategy perfect for your site.

AI-Ready

Integrate Astro’s official MCP server and context files with your favorite AI tools for a best-in-class development experience.

Environment Variables

Avoid common configuration mistakes with a built-in API to manage your environment variables.

Dev Toolbar

Extend your development environment with apps and integrations for the built-in development toolbar.

Get professional Astro support

Find the right team for your project with an Astro Partner Agency. From landing pages to e-commerce, get the expert assistance you need.

B&L

Bits&Letters

Web engineering studio crafting fast, content-driven sites.

View agency →
SG

Seibert Group GmbH

Enterprise Astro builds and Atlassian expertise.

View agency →
LM

Lucky Media

Full-service agency building bespoke Astro websites.

View agency →
Bj

Bejamas

Jamstack specialists shipping high-performance frontends.

View agency →

Start building with Astro today

Get Started
› npm create astro@latest

Astro is free, open-source software made possible by these wonderful sponsors

Netlify

Webflow

Cloudflare

Mux

ImageKit

CloudCannon

Mintlify

ArcJet

Datadog

Databento

Fortuna

BairesDev

N-iX

Sponsor Astro