astro-seo

Astro SEO is a component for adding search engine optimization metadata tags to an Astro app.

github.com/jonasmerlin/astro-seo
astro-seo homepage screenshot

About astro-seo

Astro SEO is an open source component for Astro projects. It adds search engine optimization metadata tags to the head section of Astro pages. It is installed with npm or yarn and placed inside the HTML head. A common approach is to place the component in a shared layout and pass page-specific values from each page through Astro's standard props.

The component's props cover the page title and a title template, a fallback title, the page description, and the canonical URL. It also handles robots directives such as noindex, nofollow, noarchive, and nocache, along with a field for custom directives. The README example also shows Open Graph and Twitter fields, plus an extend option for adding custom link and meta tags. The homepage excerpt is cut off partway through the props table, so the full list of props is not confirmed here. The excerpt does not state which Astro versions are supported or describe any other limits.

Key features

  • Adds SEO metadata tags through a single SEO component in Astro pages
  • Title template and fallback title props for consistent page titles
  • Canonical URL that defaults to the current page URL, or can be set or omitted
  • Robots directives including noindex, nofollow, noarchive, and nocache
  • Open Graph basic tags and Twitter creator fields through props
  • Extend option for adding custom link and meta tags to the head
Best for: Developers building Astro sites who want to manage SEO meta tags in one reusable component.
Good for
  • Open source, with the code and README publicly available on GitHub
  • Works with Astro's standard props pattern, so layouts can pass page values to the component
  • Sets a default canonical URL from the current page address unless overridden
Watch out for
  • Indexing and link following are allowed by default unless noindex or nofollow is set

astro-seo at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Open source
Yes · Source code
Language
English
Last checked
Oct 6, 2026 · Online when checked
Listed
Oct 5, 2026

astro-seo alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Popular in SEO & Web Analytics

Well-known listings from the same topic.

All 211

astro-seo FAQ

How do I install Astro SEO?
Run npm install astro-seo, or yarn add astro-seo if you use yarn.
How can each page set its own SEO values when using a layout?
Keep the SEO component in a layout and pass title and description from each page to the layout as Astro props, then pass them on to the component.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing