
meta-tags
Manage search engine optimization metadata in Ruby on Rails applications with this SEO library.

About meta-tags
meta-tags is an open-source gem for Ruby on Rails applications to render HTML head metadata, including titles, descriptions, canonical links, robots directives, Open Graph tags, X card tags, and hreflang links. It uses display_meta_tags in layouts and set_meta_tags or helper methods in controllers and views, with an optional initializer for truncation and rendering options.
It requires Ruby 3.0 or later and Rails 6.1 or later. It does not generate structured data / JSON-LD, robots.txt, sitemaps, internal links, or page content.
Key features
- Render page titles and descriptions in Rails layouts and views
- Set canonical links for pages
- Set robots directives including noindex and nofollow
- Render Open Graph and X card tags for sharing previews
- Render hreflang links
- Configure truncation and property-attribute rendering via initializer
- Supports Rails 6.1+ and is tested against major Rails releases
- Includes defaults for truncation and rendering that can be changed
- Allows setting tags from layouts, controllers, and views
- Requires Ruby 3.0+ and Rails 6.1+; older versions are not supported
- Does not generate structured data, robots.txt, sitemaps, internal links, or page content
meta-tags at a glance
- Website
- github.com/kpumuk/meta-tags
- Category
- Marketing & SEO › SEO & Web Analytics
- Type
- Open-source project
- Pricing
- Not confirmed. Check the site
- Open source
- Yes · Source code
- Language
- English
- Last checked
- Oct 5, 2026 · Online when checked
- Listed
- Oct 5, 2026
Guides for SEO & Web Analytics

meta-tags alternatives
Tools and sites you could use instead, ranked by how closely they match.
Astro SEO is a component for adding search engine optimization metadata tags to an Astro app.
Add search engine metadata to Next.js projects with this plugin for managing SEO settings.
LaravelMetaTags provides tools for managing SEO metadata tags in Laravel projects.
Use open-source SEO, generative engine optimization and marketing skills with AI agents.
Use an SEO agent skill to audit, diagnose and plan website optimization across Google, Bing and AI search.
Convert non-ASCII text into URL-safe slugs with this PHP transliteration library.
Popular in SEO & Web Analytics
Well-known listings from the same topic.
meta-tags FAQ
How do I install meta-tags?
How do I render meta tags in a Rails layout?
What versions are supported?
Tell us and an editor will check it.
Claim the listing and suggest updates yourself. An editor checks every claim first.












