We don't just do content marketing. We build the tools that power it.

Article Schema Generator

Generate valid Article schema markup (JSON-LD) for your blog posts and news articles. This tool helps search engines understand your content better and can lead to rich results in Google. Just fill in the fields below and copy the generated code into your page's head section.

Select Article Type
Article
News Article
Blog Post
Tech Article
Article Details
0 characters Google shows ~60 chars
0 characters Google shows ~160 chars
Publication Dates
Author Information
Publisher Information
Tip: Google recommends logos be 112x112px minimum. The logo should be a rectangle or square, not a tall vertical image.
Featured Image
Tip: Images should be at least 1200 pixels wide. Use 16:9, 4:3, or 1:1 aspect ratios for best results across platforms.
Social Media Character Limits

Your headline and description will be used by social platforms. Here's how they fit within each platform's limits.

X (Twitter)
Title: 0/70
OK
Facebook
Title: 0/88
OK
LinkedIn
Title: 0/200
OK
Pinterest
Title: 0/100
OK
Google SERP
Title: 0/60
OK

Description Limits

X (Twitter)
Desc: 0/200
OK
Facebook
Desc: 0/300
OK
LinkedIn
Desc: 0/256
OK
Google SERP
Desc: 0/160
OK

Generated Article Schema (JSON-LD)

Social Media Title and Description Limits

When your article gets shared on social media, platforms use your title and description for the preview card. Each platform has different limits for what they display. Here's a quick reference.

PlatformTitle LimitDescription Limit
X (Twitter)70 characters200 characters
Facebook88 characters300 characters
LinkedIn200 characters256 characters
Pinterest100 characters500 characters
Google SERP60 characters160 characters

These limits can change over time as platforms update their designs. The numbers above are based on what each platform typically displays before truncating with an ellipsis.

What is Article Schema?

Article schema is a type of structured data markup that tells search engines exactly what your content is about. It uses the Schema.org vocabulary in JSON-LD format, which Google prefers over other formats like Microdata or RDFa.

When you add Article schema to your pages, you're giving search engines detailed information about your content - the headline, author, publication date, featured image, and more. This helps Google understand your content better and can lead to enhanced search results with rich snippets.

Which Article Type Should I Use?

The type you choose depends on what kind of content you're publishing.

  • Article. The most general type. Use this if your content doesn't fit the other categories or if you're not sure which to pick.
  • NewsArticle. For timely news content that reports on recent events. News publishers and journalists should use this type.
  • BlogPosting. For blog posts and personal articles. This is a good choice for most content marketers and bloggers.
  • TechArticle. For technical documentation, how-to guides, and tutorials. Great for software documentation or technical blogs.

If you're running a blog, BlogPosting is usually the best choice. For news sites, go with NewsArticle. When in doubt, the generic Article type works fine.

How Do I Add This Schema to My Website?

Once you generate the schema code, you need to add it to your webpage. Here's how to do it.

  1. Copy the generated JSON-LD code using the Copy button.
  2. Open your webpage's HTML file or template.
  3. Paste the code inside the <head> section of your page, or just before the closing </body> tag. Both locations work fine.
  4. Save and publish your changes.

If you're using WordPress, you can add the code through your theme's header.php file, use a plugin like Insert Headers and Footers, or add it via your SEO plugin if it supports custom schema. Many SEO plugins like Yoast and Rank Math can also generate Article schema automatically.

What Are the Required Fields?

Google has specific requirements for Article schema to be eligible for rich results. At minimum, you need to include these fields.

  • headline. The title of your article.
  • image. At least one image representing your article. Google recommends images be at least 1200 pixels wide.
  • datePublished. When the article was first published.
  • author. The name of the person or organization that wrote the article.

For the best chance at rich results, you should also include the publisher information with a logo, the article description, and the dateModified field if your content has been updated since publication.

How Can I Test My Schema Markup?

After adding the schema to your page, you should validate it to make sure there are no errors. Google provides two tools for this.

  • Rich Results Test. This tool shows you if your page is eligible for rich results and highlights any issues. Visit search.google.com/test/rich-results to use it.
  • Schema Markup Validator. This is the official Schema.org validator at validator.schema.org. It checks your markup against the Schema.org specification.

You can test by entering your page URL or by pasting the code directly. If you see any errors or warnings, fix them and test again until everything passes.

Let's Grow Your Business

Want some free consulting? Let’s hop on a call and talk about what we can do to help.