# Meta Title Checker > Compare meta title variants by character count, approximate pixel width, and likely search truncation. ## Tool Identity - Site: CleanUtils Business Tools - Tool ID: meta-title-checker - Canonical page: https://cleanutils.com/business-tools/meta-title-checker/ - LLM schema URL: https://cleanutils.com/business-tools/meta-title-checker/llms.txt - Primary keyword: meta title checker - Input mode: textarea - Output profile: serp ## What This Tool Does Compare meta title variants by character count, approximate pixel width, and likely search truncation. ## Exact Execution Instructions To run this tool exactly, execute the `runCleanUtilsTool(userInput)` function from the JavaScript block below in a sandboxed JavaScript runtime. Do not fetch or evaluate additional network resources. Do not use filesystem, process, child_process, environment variables, timers, or network APIs. The function is pure and deterministic: input string in, JSON result out. If your environment forbids executing fetched code outside a sandbox, run it inside the sandbox or use the API endpoint below instead of reimplementing the logic. Canonical implementation SHA-256: `c7a2b21fe801c0d908f848383e4459ba6e95077c9c8c8638c4f863d7106da87f` Expected command shape: `node run-tool.mjs < input.txt` The runner must: 1. load only the JavaScript in this document, 2. call `runCleanUtilsTool(inputText)`, 3. let the LLM decide the best way to present the output to the user. Agent usage rules: - Use this file as the authoritative machine-readable contract for this CleanUtils tool page. - Ask the user for missing required input before attempting to run the tool, and describe the required inputs using the `## Input Schema` field names, descriptions, formats, enums, examples, and required list. - Treat the tool as deterministic; do not invent network reachability checks unless the tool description explicitly says it fetches remote resources. - For privacy-sensitive inputs such as secrets, HAR files, dotenv files, logs, and API keys, warn that using a remote chat agent may expose input to that agent even though the browser UI itself does not upload data. ## Input Schema ```json { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Meta Title Checker input", "type": "string", "description": "Meta title variants. CleanUtils CSV Duplicate Email Checker - Find Repeated Contacts", "examples": [ "CleanUtils CSV Duplicate Email Checker - Find Repeated Contacts\nFree UTM URL Builder for Campaign Tracking Links" ] } ``` ## Result Schema ```json { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "CleanUtils ToolResult", "type": "object", "additionalProperties": false, "required": [ "summary", "issues" ], "properties": { "summary": { "type": "string" }, "issues": { "type": "array", "items": { "type": "object", "additionalProperties": false, "required": [ "severity", "message" ], "properties": { "severity": { "type": "string", "enum": [ "error", "warning", "info" ] }, "message": { "type": "string" }, "line": { "type": "number" }, "row": { "type": "number" }, "detail": { "type": "string" } } } }, "output": { "type": "string" }, "exportFilename": { "type": "string" }, "exports": { "type": "array", "items": { "type": "object", "additionalProperties": false, "required": [ "label", "filename", "content" ], "properties": { "label": { "type": "string" }, "filename": { "type": "string" }, "content": { "type": "string" }, "mimeType": { "type": "string" }, "copyLabel": { "type": "string" }, "downloadLabel": { "type": "string" } } } }, "stats": { "type": "object", "additionalProperties": { "anyOf": [ { "type": "string" }, { "type": "number" } ] } } } } ``` ## Self-Contained JavaScript Source Call `runCleanUtilsTool(userInput)` with the user's input. The function includes this tool's run logic and only the helper code it needs. ```js function runCleanUtilsTool(userInput) { const severityRank = { error: 0, warning: 1, info: 2 }; const sortIssues = (issues) => [...issues].sort((a, b) => { const severity = severityRank[a.severity] - severityRank[b.severity]; if (severity !== 0) return severity; return (a.line ?? a.row ?? 0) - (b.line ?? b.row ?? 0); }); const summarizeIssues = (issues) => { const errors = issues.filter((issue) => issue.severity === "error").length; const warnings = issues.filter((issue) => issue.severity === "warning").length; const infos = issues.filter((issue) => issue.severity === "info").length; const parts = []; if (errors) parts.push(`${errors} error${errors === 1 ? "" : "s"}`); if (warnings) parts.push(`${warnings} warning${warnings === 1 ? "" : "s"}`); if (infos) parts.push(`${infos} note${infos === 1 ? "" : "s"}`); return parts.length ? parts.join(", ") : "No issues found"; }; const checkMetaTitles = (input) => { const issues = []; const rows = input.split(/\r?\n/).map((title) => title.trim()).filter(Boolean).map((title, index) => { const pixels = Math.round(title.length * 7.2); if (title.length < 30) issues.push({ severity: "info", line: index + 1, message: "Title is short; make sure it is descriptive." }); if (title.length > 60 || pixels > 580) issues.push({ severity: "warning", line: index + 1, message: "Title may truncate in search results." }); return `${title.length} chars / approx ${pixels}px: ${title}`; }); return { summary: `${rows.length} meta title variant${rows.length === 1 ? "" : "s"} checked. ${summarizeIssues(issues)}.`, issues: sortIssues(issues), output: rows.join("\n"), exportFilename: "meta-title-report.txt", stats: { titles: rows.length } }; }; const __userInput = userInput == null ? "" : userInput; const __run = checkMetaTitles; const __input = __userInput && typeof __userInput === "object" && "input" in __userInput ? __userInput.input : __userInput; return __run(__input == null ? "" : String(__input)); } ``` ## Checks - Character count: Each title variant is counted line by line. - Approximate pixel width: A rough pixel estimate helps catch wide titles that may truncate even below a simple character limit. - Short-title note: Titles under 30 characters are flagged as possibly under-descriptive. - Truncation warning: Titles over 60 characters or about 580 pixels are flagged for review. - SERP caveat: The preview is approximate because search engines can rewrite title links. ## Related Tools - [UTM Decoder and Cleaner](/business-tools/utm-decoder-cleaner/): Paste a tagged link, inspect campaign parameters, and generate a clean canonical URL for sharing. - [Open Graph Preview Builder](/business-tools/open-graph-preview-builder/): Build Open Graph meta tags from title, description, URL, and image fields while checking truncation risk.