FAQ
How long should the title be?
About 25-30 Chinese characters or 60 English characters; longer titles get truncated with an ellipsis in search results. The tool shows the length live.
What if the description is too long?
Google displays roughly 75 Chinese characters or 155 English characters and drops the rest. It does not penalise you, but a truncated description persuades less.
Where does the generated JSON-LD go?
In a script tag inside head with type application/ld+json. Users never see it; search engines do.
About this tool
Fill in title, description, keywords and the rest, and get a complete <head> block you can paste as-is: title, description, keywords, author, robots, canonical, Open Graph, Twitter Card and JSON-LD, plus a Google search preview and a social share preview.
Length is measured by visual width, not character count. Google truncates titles by pixel width (roughly 600px on desktop), and one CJK character is about as wide as two Latin characters - so "60 characters" is right for English and far too generous for Chinese, where truncation happens around 30 characters. This tool counts CJK as 2 and everything else as 1, capping titles at 60 and descriptions at 155 visual width, which puts both languages on the same threshold: about 30 Chinese characters or 60 Latin characters.
Details that break things and are handled here:
og:localeuses underscores (zh_CN); writingzh-CNmakes some scrapers ignore it.- Without an image the card degrades to
twitter:card=summary; only with an image does it emitsummary_large_image- declaring a large image while having none renders an empty card. <inside the JSON-LD is escaped. If someone puts</script>in the title, an unescaped version would break out of the script block and corrupt the page.- robots is fixed to
index, follow; edit that line yourself for pages that need noindex.
Not included: this is not an SEO audit - it does not check headings, internal links or performance, and does not decide whether structured data should be Article or Product. The JSON-LD is a minimal WebSite block. Use a 1200x630 PNG for the share image, since WeChat, X and Facebook do not accept SVG.