SEO Title & Description Previewer

Google gives every search result the same small rectangle: a blue title, a green address and two lines of grey description text. If your title is too wide it ends in an ellipsis, and if your description wraps past the second line the rest is simply never shown. This previewer shows you that rectangle before you publish: type the title, meta description and URL you are about to ship, pick a viewport, and watch a mock Google result render with real font metrics. The tool measures both strings in pixels — not characters, because proportional fonts make character counts a guess — wraps the description word by word, cuts each string exactly where Google would, and tells you how many characters are hidden on desktop, tablet and mobile. When the copy is right, it hands you the finished <title> and <meta name="description"> tags to paste into your template. Everything is computed in this tab: nothing you type leaves the page.

100% private. The pixel measurement, the word wrap and every rendered preview are produced with JavaScript in this browser tab. Your titles, descriptions and URLs never leave the page; there is no server-side calculation and nothing to send.

1. Enter the tags you want to test

A preset fills all three fields for a common scenario — pick one and edit it, or load this page's own tags to check what it is actually serving.

2. Choose the viewport

A preset sets the measured budgets for that device; the sliders let you fine-tune them (for example to match a locale where Google shows more or less text).

Mock search result

Fits on desktop

Measurements

Cross-viewport check

The same strings measured against the standard desktop, tablet and mobile budgets at once, so you can see where truncation starts before you pick a viewport above.

How to use it

Start in panel 1: type the exact title and meta description your page will serve — not a draft, because what you optimise is what ships. If you are unsure what your page currently serves, pick the “Load this page's own tags” preset on any page of your site and the tool reads the live <title> and <meta name="description"> into the form. Then choose a viewport in panel 2. The mock result, the measurement cards and the cross-viewport table all update as you type, so there is no run button to remember. When the strings fit where they matter, use Copy HTML tags to take the finished <title>/<meta> pair straight into your template, or Copy share link to send a colleague the exact state of this page — title, description, URL and viewport are all encoded in the query string.

Worked example: a blog post that fits desktop but not mobile

Load the “Blog post” preset. The title, “How to Back Up an Ubuntu Server with Borg — A Complete Guide”, is 60 characters and measures about 530 px at the classic 18 px size — inside the 600 px desktop budget, so the mock result shows it in full with no ellipsis. The cross-viewport table tells the rest of the story: at the tablet budget (460 px) about 11 characters end up after the cut, and on mobile (340 px) about 23 are hidden. The description is 179 characters: at the 920 px desktop width it wraps to two lines and fits completely, but on the mobile budget — one line, roughly 500 px — it needs three lines, so about 106 characters are never displayed. That is the pattern behind most “my snippet looks fine” complaints: the copy was written for one device and shipped to all three. The fix this tool supports is straightforward — move the most important phrase to the front of both strings so every truncation still leaves the point intact, then re-check desktop, tablet and mobile until all three rows in the cross-viewport table show a green mark.

How it works

Character counts are the lazy metric, and they are wrong for proportional fonts: a title full of ws and digits is wider than one of is at the same length. So this tool measures the way a browser does. Both strings are drawn into an off-screen canvas with the same font family, size and weight Google uses for results — Arial for the title (with a size selector, since Google has shipped 18 px and 20 px variants over time) and 14 px text for the description — and measureText() returns the width in CSS pixels. The title is compared against its budget directly; if it overflows, a binary search finds the longest prefix that still fits once the trailing ellipsis is included, which is the same cut Google makes. The description is harder because it wraps: the tool splits it into words and greedily packs each line up to the width budget, then keeps only as many lines as the viewport shows and cuts the final line at the last word that fits before the ellipsis. The budgets themselves — about 600 px for a desktop title, 920 px for a two-line description, one line on mobile — are the values most commonly observed in real SERPs; Google adjusts them per locale and per A/B experiment, which is why the sliders exist. Treat the numbers as a reliable warning, not a pixel-perfect promise.

Common mistakes this previewer catches

  • Keyword stuffing at the end of the title. The stuffed part is exactly what the ellipsis eats, so you pay the width cost and get no visibility. Put the primary keyword in the first half.
  • Brand placement by coin flip. Title | Brand keeps the brand safe on mobile but spends title budget; Brand: Title does the opposite. The cross-viewport table shows which half survives on each device before you decide.
  • Descriptions under 70 characters. They render as a lonely single line and waste the second line Google gives you — the warning card flags it explicitly.
  • Descriptions over 160 characters. Past roughly two lines at desktop width, every extra word is invisible on every device. Writing more does not rank better; it just costs you nothing to lose by cutting.
  • Optimising for one device only. A title that fits at 600 px can lose 30 characters at the mobile budget. Check all three rows before shipping.
  • Trusting the CMS preview, not the served tags. Many templates rewrite titles per view. The “load this page's own tags” preset checks what is actually in the HTML, which is what Google reads.

Related tools

The title and description are two of the four things a crawler weighs before it decides how to show your page. Pair this previewer with the rest of the on-page set: generate the tags themselves, control which paths the crawler may read at all, tell it where to start, and keep the small mark next to your URL consistent across results and bookmarks.


Luke Keam
Spot a bug or want a custom utility built? I'd love to hear from you. Get in touch
Luke Keam | techgeek.biz