Free auditStart free
GlossaryGlossary · Technical SEO

React SEO

React apps can be indexed, but how you render and link them decides whether Google sees your content. Learn the rendering options and a launch checklist.

3 min
read
5
sources
Oct 21, 2026
updated
Scaplet Editorial Team
author
In one line

React SEO is making a React app discoverable in search. Google runs JavaScript with an evergreen Chromium, so client-rendered React can be indexed, but Google says server-side or pre-rendering is still a great idea because it makes pages faster for users and crawlers and not all bots can run JavaScript.

30-second check

Is this costing your site traffic?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode
01Explained

Can Google index a React app?

Yes. Google processes JavaScript web apps in three phases: crawling, rendering and indexing. Googlebot fetches the URL, reads the links in the HTML, queues the page for rendering, and a headless Chromium then runs your JavaScript. Google indexes the rendered HTML and parses it for more links.

The risk is the app shell model, where the first HTML has no content and Google has to execute JavaScript to see it. Google says rendering can take a few seconds or longer, and that other crawlers may not run JavaScript at all. That is why the choice of rendering matters. See JavaScript SEO.

03Worth knowing

What to get right

Real links

Google follows <a> elements with an href. <a routerLink>, <span href> and <a onclick> are not recommended. Check that your router's link component outputs an <a href>.

Real URLs

For client-side routing use the History API, not URL fragments like #/products, which Googlebot can't reliably resolve.

Unique titles and descriptions

You can set <title> and the meta description with JavaScript. In Next.js, the Metadata API generates the head tags for you, in Server Components.

One canonical

Google says HTML is the best way to set it. If you must use JavaScript, set the same value the HTML would have, and don't change it to a different URL.

Honest status codes

A missing product should return a real 404. In a client-routed app, redirect to a URL that returns 404, or add noindex to the error view, to avoid soft 404 errors.

Don't block your scripts

Google won't render JavaScript from blocked files or on blocked pages, so keep them out of robots.txt disallow rules.

04How it works

Check it in two minutes

  1. 1

    Compare source and DOM

    View page source, then inspect the live DOM in DevTools. If the content only appears in the DOM, you depend on rendering.

  2. 2

    Inspect as Google sees it

    Run the URL through Search Console's URL Inspection tool and check the rendered HTML for your text, links and anchor text.

  3. 3

    Fetch without JavaScript

    Run curl -s https://example.com/page | grep "your headline". No match suggests the headline is added by JavaScript.

Link markup, from Google's link guidance
<!-- Crawlable: a real URL in an href -->
<a href="/products/shoes">Running shoes</a>

<!-- Not recommended: no href, navigation happens in a script -->
<a onclick="goTo('shoes')">Running shoes</a>
Sources · 5

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • google.com
  • react.dev
  • nextjs.org
  1. 01Understand JavaScript SEO basicsdevelopers.google.com · checked 2026-10-25
  2. 02Dynamic rendering as a workarounddevelopers.google.com · checked 2026-10-25
  3. 03Link best practices for Googledevelopers.google.com · checked 2026-10-25
  4. 04Creating a React Appreact.dev · checked 2026-10-25
  5. 05Metadata and OG images - Next.js docsnextjs.org · checked 2026-10-25
Questions

Asked a lot.

5 questions people ask next, answered from the sources on this page.

01Is React bad for SEO?

Not inherently. Google renders JavaScript with an evergreen Chromium, so React content can be indexed. The weak spots are content that only exists after client-side rendering, links without href, and soft 404 errors.

02Do I need server-side rendering for React SEO?

Google doesn't require it, but says server-side or pre-rendering is still a great idea because it makes your website faster for users and crawlers, and not all bots can run JavaScript.

03How do I set the title and meta description in React?

Google says you can use JavaScript to set or change both. In Next.js, the metadata object or generateMetadata function in a Server Component produces the head tags automatically.

04Is dynamic rendering still recommended?

No. Google describes it as a workaround and not a long-term solution, and recommends server-side rendering, static rendering or hydration.

05Which React framework should I use?

The React docs recommend starting with a framework and list Next.js (App Router) and React Router (v7), among others. Pick by the rendering you need, then verify with URL Inspection.

Free · 2 minutes

Know the term. Now check your site.

The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • +212% organic clicks in 90 days Ledgerly