Test Results Reveal What Works for Search


Google has made a concerted effort to treat JavaScript content just like plain old HTML over the past few years.

The search engine updated the Googlebot crawler to the latest version of Chrome to give it the same capabilities as the Chrome browser so that it can read and understand JavaScript.

Not only that, Google continues to improve their parsing performance so that JavaScript-rendered content can be understood and displayed in SERPs almost as quickly as plain HTML  — and they continue to update information on the Google developer website.  

We tested Google’s JavaScript capability using a new feature in the seoClarity platform that allows updates to quickly be made to web pages.

JavaScript FAQ: SEO Results

Does JavaScript work for SEO?

The short answer is, yes! Both Google and Bing have increased their ability to understand JavaScript content.

How can you tell if Google renders the JavaScript on a page?

Using Google Search Console URL Inspect, you can fetch and render the changes immediately. Google offers detailed and frequently updated documentation on JavaScript.

What will Google actually index, rank, and display in the SERPs?

The short answer here is yes — Google will pick up and display your titles, meta descriptions, H1, content, links, FAQ, and more.

Here are a few more detailed examples … 

Does Google index page titles rendered using JavaScript?

Yes. We tested title tags replaced by JavaScript-generated text and found those titles via search in the Google SERP.

Google, however, still has a tendency to rewrite them to better match the user’s query.

Will Google display the meta description as a snippet if it is written using JavaScript?

Yes. We tested meta descriptions replaced by JavaScript generated text and found those as snippets in Google search results. Like page titles, Google sometimes rewrites them to match a user’s query.

Are H1 tags updated by JavaScript index by Google like HTML?

Absolutely! We have a client that was impacted by Google title rewrites, where terms that were important for CTR were removed.

Using JavaScript updates to their existing H1 tags, they were able to get those terms back into the Google rewritten versions of their SERP titles.

Will Google index and rank JavaScript content added to a page?

Yes. We placed text using JavaScript on product category pages to increase relevance. And, we even replaced the entire body of a web page with JavaScript generated content and found those pages via Google search querying for terms within the new content.

Will Googlebot follow JavaScript rendered links?

Yes. Google treats these links just as it would links in HTML. To test this, we created a series of pages, all linking to the next page via JavaScript-generated links.

In this test, we created a hierarchy of 5 pages and the only links to them came from our initial test page, then each linked to the deeper page.

It took a few weeks, but all of these pages were found in the Google index, ranking for unique text contained on the page.

Will Google index and rank lazy-loaded content?

Yes — and even extremely lazy-loaded content. We tested loading content on a 5 second delay, then updated that content via JavaScript.

We found that Google chose to display the updated content as the Google snippet. We’re currently testing just how lazy the text can be. Stay tuned for those results!

Will Google treat JavaScript-generated FAQ schema just like it was manually coded?

Yes, quite well. Structured data generated using JavaScript appeared within 7 days for a website already ranking for their top keyword.

How long does it take for changes to appear?

Changes appear on an average of 5 days once crawled.


We have more tests in progress, as we strive to test the limits of the ever-increasing capabilities of Google and other search engines. Check back often or subscribe below to get the latest results.

Original Post

About Author


Please enter your comment!
Please enter your name here

Share post:




More like this

Fixing organizational silos: 7 major challenges of the silo mentality

Turn a fragmented team into a collaborative unit...

Ensuring accuracy: What data validation is and why it matters

Data validation ensures the information you work with...

Harness conversion analysis to improve UX and unlock customer insights

Revolutionize your conversion strategy by identifying impactful clicks.While...

A Comprehensive Comparison — SitePoint

When it comes to web development, choosing the...