Common question

How Do I Add a Meta Description to My AI-Built App?

Short answer: add one line of HTML to the <head> of each page. It looks like this:

That's the meta description. It is a short summary of the page. You can check yours with the steps below.

Check your live app for free

Paste your link. The free summary usually takes under a minute.

What is a meta description?

It is a hidden note about your page. Visitors don't see it on the page. It sits in the page's <head>. MDN, a web docs site, describes it as "a short and accurate summary of the content of the page." (MDN: the meta name attribute)

Search engines can show it as the small text under your link in the results. Think of the page title as the headline and the description as the pitch under it.

Does my app need one?

It isn't required. Your app will work without it. But here is what Google says:

  1. Google mostly builds the text under your link from the page itself.
  2. It sometimes uses your meta description instead, "if it might give users a more accurate description of the page."
  3. A good description is "like a pitch" to convince people the page is what they want.

(Google Search Central: Control your snippets in search results)

So adding one does not promise that Google will show it. It gives Google a better option when your page has little text to pull from. That is common for small apps that have a home page with a button and a few words.

How do I check if my app has one?

  1. Open your live app in your browser.
  2. Right-click the page and choose View Page Source.
  3. Press Ctrl+F (or Cmd+F on a Mac) and search for name="description".
  4. If you find a line with content="..." and real words in it, you have one. If you find nothing, or the words are your builder's template text, you need to fix it.

One catch: some apps add their tags with JavaScript after the page loads. If so, View Page Source may not show the tag, even when the page has one once it loads. Our scan reads the HTML your server sends, the way a simple crawler would.

Or paste your link into the box at the top of this page. The free summary tells you if the description is missing.

How do I add it?

The easiest way is to ask your AI builder. Paste this into Lovable, Bolt, Cursor, Replit, v0 or similar:

Add a meta description to every public page of my app. Each page needs <meta name="description" content="..."> in the <head>. Write a different one for each page. Each should say in plain words what is on that page and who it is for. Don't stuff keywords. Make sure the tag is in the HTML the server sends, not only added later by JavaScript. Show me what you changed.

If you prefer to do it by hand, here is where it goes in common setups.

A plain Vite or React app. Open index.html in your project and add the line inside <head>. That sets one description for the whole site, which is fine for a home page. For other pages, React's docs say you can render a <meta> tag from any component and React will place it in the document head. (React docs: meta) Note that in an app that only runs in the browser, that tag is added by JavaScript after the page loads.

Next.js. Export a metadata object from a page.js or layout.js file:

export const metadata = {
  title: 'Pricing',
  description: 'Simple prices for every class. No sign-up fees.',
}

Next.js turns that into the <meta name="description"> tag for you. (Next.js docs: generateMetadata)

How do I write a good one?

Google's advice is simple:

  1. Make it different for each page. Google says identical or similar descriptions on every page "aren't helpful." If you're short on time, at least do your home page and your most popular pages.
  2. Say what's really on the page. Plain sentences work best. A list of keywords is "less likely to be displayed as a snippet," Google says.
  3. Don't make it too short. A few words don't tell anyone anything.

How long? Google says there is no limit on length, but the snippet is cut off to fit the screen. Our scan's fix prompt suggests 120 to 155 characters as a handy size. That is a rule of thumb, not a Google rule. Put the most important words first.

What our scan checks (and what it doesn't)

The scan looks at the page you submit and flags it if there is no meta description. It does not check how long it is, whether it is unique on each page, or whether Google shows it. It also checks your page title (see How long should my page title be?), share tags (Open Graph), canonical link, H1 heading, noindex, robots.txt and sitemap.xml, plus security basics like HTTPS, security headers and exposed keys.

Check your app now

Paste your live app's URL into the box at the top of this page. The free summary shows what we found. The full report gives you a copy-paste fix prompt for each issue.

This is an automated, surface-level check of what your site shows the public. It is not a full security audit or an SEO guarantee.