Skip to content

WordPress Meta Tags Generator

Free

Generate SEO meta tags for WordPress without a plugin. Create title, description, Open Graph, and Twitter Card tags ready to paste into your theme.

wordpress seo meta tagsadd meta tags wordpresswordpress title tag
All SEO Tools

Settings guide

Title tag:

Keep the title under 60 characters. WordPress default titles often include the site name automatically — strip the site name suffix if you are adding it manually to avoid double-printing.

Meta description:

Target 120–155 characters. WordPress's built-in excerpt field maps well to this. Avoid duplicating it with the og:description field — use the same value for both unless your social preview needs a different angle.

Canonical URL:

Always set the canonical to the permalink shown in WordPress's URL settings — not the staging domain. Switch this to the production URL before pushing live.

Open Graph type:

Use article for blog posts and pages with a publish date. Use website for the homepage and static landing pages.

Format comparison

This generator vs Yoast SEO:

Yoast generates the same tags automatically per post, with a GUI editor and character counters. If you manage a large blog with many contributors, Yoast's per-post editing UI is worth the plugin overhead. For small sites, landing pages, or theme-level tags that apply globally, generating the tags once and hardcoding them in your theme eliminates a dependency and speeds up the admin.

This generator vs RankMath:

RankMath adds analytics integrations and schema generation on top of basic meta tag management. If you only need meta tags and not the full SEO plugin suite, generating them manually is simpler and gives you complete control without the dashboard bloat.

How it works

1

Enter details

Fill in your page title, description, URL, and optionally an image URL for social sharing previews.

2

Copy HTML

Copy the generated meta tag block — it includes title, description, canonical, Open Graph, and Twitter Card tags.

3

Paste into WordPress

Add the tags to your theme's header.php or inside a wp_head action hook in functions.php.

4

Verify with a checker

Use a meta tag checker or Facebook Sharing Debugger to confirm tags are rendering correctly on the live page.

About this format

WordPress handles many SEO tasks automatically, but it does not generate Open Graph tags, Twitter Card tags, or properly formatted canonical meta tags out of the box without a plugin. If you want full control over every tag without adding a plugin dependency to your install, this generator produces the exact HTML you need.

Paste the output into your theme's `functions.php` inside a `wp_head` hook, or add it directly to your theme's header template between the `<head>` tags. The tags work identically whether you are using a block theme, a classic theme, or a page builder like Elementor or Divi.

This is also useful for staging environments or headless WordPress setups where popular SEO plugins either conflict with the build process or add unnecessary overhead. Generate once, paste once, done — no plugin activation, no settings pages, no performance bloat.

Frequently asked questions

Can I add meta tags to WordPress without a plugin?+
Yes. Add the generated HTML to your theme's header.php between the head tags, or use the wp_head action hook in functions.php to output tags programmatically. This requires basic PHP knowledge but adds zero plugin overhead to your install. For block themes on WordPress 5.9+, use the Site Editor to add custom HTML to the header template part instead.
Will manually added meta tags conflict with Yoast or RankMath?+
Yes — if you have an SEO plugin active, it outputs its own title and description tags. Having both causes duplicate meta tag warnings and confuses search engines. Disable output from the plugin for any page where you are manually adding tags.
Do I need to add meta tags to every WordPress page individually?+
For the homepage and archive pages, you can add global tags in your theme header. For individual posts and pages, use either a plugin for per-post control or a custom field that your theme reads to populate the meta tags dynamically.
How do I add Open Graph tags in WordPress without a plugin?+
Generate the OG tag block here, then paste it into your theme's header.php or add it via the wp_head hook. Ensure og:image points to an absolute URL with the correct domain — relative paths do not work for Open Graph.
Does WordPress automatically generate meta descriptions?+
WordPress does not generate meta description tags by default. Without an SEO plugin, the meta description field is absent from your pages entirely. Google will then pick its own description snippet from your content, which is often not what you want.

Related tools and guides