Website Content Counter

Analyze any webpage content instantly. Count words, characters, paragraphs, headings, images, links, and get SEO insights — all for free.

URL Analysis

Analyze any public webpage by simply entering its URL. Get full content statistics instantly.

SEO Insights

Extract page title, meta description, heading structure, and get SEO recommendations.

100% Private

Your data stays in your browser. We don't store or share any content you analyze.

Export Results

Download analysis as CSV or JSON for further use in spreadsheets or data tools.

What is a Website Content Counter?

A website content counter is a comprehensive analysis tool that evaluates any webpage and provides detailed metrics about its content. It goes beyond simple word counting to extract SEO metadata, heading structure, link profiles, image attributes, and more. This is essential for content creators, SEO professionals, web designers, and digital marketers who need to understand and optimize web content.

Why Use Our Website Counter?

Complete Analysis: Count words, characters, paragraphs, sentences, headings, links, images
SEO Metadata: Extract page title, meta description, and evaluate their quality
Content Structure: Visualize heading hierarchy (H1-H6) for better organization
Keyword Insights: See most frequent words and identify content themes
Export Data: Download results as CSV or JSON for further analysis

How Website Content Analysis Works

Our tool processes web content through multiple layers of analysis:

  • Content Extraction: Removes HTML tags, scripts, and styles to extract clean text
  • Metadata Parsing: Extracts title, description, and other SEO-relevant meta tags
  • Structure Analysis: Identifies heading tags (H1-H6) and builds a content hierarchy
  • Link Profiling: Counts internal and external links for SEO evaluation
  • Image Analysis: Counts images and checks for alt text accessibility
  • Word Frequency: Identifies the most common words to reveal content themes
  • Readability Metrics: Calculates reading time and content complexity

Who Needs a Website Content Counter?

SEO Professionals

Analyze competitor pages, audit content quality, check meta data, and identify optimization opportunities. Use word frequency to discover keyword themes and content gaps.

Content Writers & Bloggers

Evaluate your own content for optimal length, heading structure, and keyword usage. Compare your content with top-performing pages in your niche.

Web Developers & Designers

Check heading hierarchy for proper semantic structure, verify image alt text, and audit link profiles for better accessibility and UX.

Digital Marketers

Analyze landing pages for conversion optimization, check content readability, and ensure proper SEO metadata for better search visibility.

Key Metrics Explained

  • Total Words: The total number of words in the page content (excluding HTML tags)
  • Characters: Total characters with and without spaces
  • Paragraphs: Number of text paragraphs (separated by line breaks)
  • Sentences: Count based on punctuation (., !, ?)
  • Reading Time: Estimated time to read the content (based on 200 words per minute)
  • Page Title: The title tag content with length evaluation (ideal: 50-60 chars)
  • Meta Description: The meta description with length evaluation (ideal: 155-160 chars)
  • Headings: Hierarchical structure showing H1 through H6 tags
  • Links: Total links with internal/external breakdown
  • Images: Total images with alt text accessibility check
  • Word Frequency: Most common words with frequency counts

Our tools

Frequently Asked Questions

What does the website content counter analyze?

It analyzes the text content of any webpage and provides statistics including word count, character count, paragraph count, sentence count, reading time, SEO metadata (title, description), heading structure, link profiles, image count with alt text, and word frequency.

Can I analyze any website?

You can analyze any publicly accessible webpage by entering its URL. The tool fetches the page content and extracts the main text content for analysis. Some sites may block automated requests, in which case you can paste the HTML manually.

Is my data private?

Yes, absolutely. All processing happens directly in your browser. The URLs you enter and the content you analyze are not stored or transmitted to any server. Your data stays on your device.

What is the ideal meta description length?

The recommended meta description length is between 155 and 160 characters. Descriptions shorter than 120 characters may be too brief, while longer descriptions may be truncated in search results.

What is the ideal page title length?

The recommended page title length is between 50 and 60 characters. This ensures your title displays fully in search engine results pages (SERPs).

How is reading time calculated?

Reading time is based on an average adult reading speed of approximately 200 words per minute. The tool rounds up to the nearest minute.

Can I export the analysis results?

Yes, you can export the complete analysis as CSV (for spreadsheets) or JSON (for data processing and integration with other tools).

Does the tool work with password-protected pages?

No, the tool can only analyze publicly accessible webpages. For password-protected or private pages, you can paste the HTML source code directly.

Why does word frequency matter?

Word frequency reveals the most common words in your content, helping you identify key themes, check for keyword stuffing, and ensure content focus aligns with your target topics.

Is this tool free?

Yes, the website content counter is completely free to use with no limits. Analyze as many pages as you want!

Sample Web Page - Content Analysis Demo

Welcome to the Sample Page

This page is designed to demonstrate the website content counter tool. It includes various HTML elements that the tool can analyze.

About This Tool

The website content counter helps you analyze any webpage by extracting text, counting words, and providing SEO insights.

You can use it to check your own content or analyze competitor pages.

Key Features

Try pasting your own HTML or entering a URL to get started!

Example Link Internal Link Placeholder image `; htmlInput.value = sample; showStatus('Sample HTML loaded. Click "Analyze HTML" to see results.', 'info'); }); analyzeTextBtn.addEventListener('click', function() { const text = textInput.value.trim(); if (!text) { showStatus('Please enter some text to analyze.', 'warning'); return; } analyzeFromText(text); }); clearTextBtn.addEventListener('click', function() { textInput.value = ''; hideStatus(); }); sampleTextBtn.addEventListener('click', function() { const sample = `The website content counter is a powerful tool for analyzing web pages. It helps you understand the structure and content of any webpage you visit. With this tool, you can count words, characters, paragraphs, and sentences. You can also extract SEO metadata like page titles and meta descriptions. The heading structure analysis shows you how the content is organized. This is useful for improving readability and SEO. Link profiling helps you understand internal and external link distribution. Image analysis checks for alt text accessibility. Word frequency analysis reveals the most common words in your content. This helps identify key themes and optimize for search engines.`; textInput.value = sample; showStatus('Sample text loaded. Click "Analyze Text" to see results.', 'info'); }); clearResultsBtn.addEventListener('click', function() { hideResults(); hideStatus(); }); // ===== Export ===== function getExportData() { if (!currentAnalysis) return null; const data = { url: urlInput.value || '', analyzedAt: new Date().toISOString(), stats: currentAnalysis.stats, meta: currentAnalysis.meta, frequency: currentAnalysis.freq, textPreview: currentText.substring(0, 500) + (currentText.length > 500 ? '...' : '') }; return data; } exportCsvBtn.addEventListener('click', function() { const data = getExportData(); if (!data) { showStatus('No analysis data to export. Analyze some content first.', 'warning'); return; } let csv = 'Metric,Value\n'; csv += `"Total Words",${data.stats.wordCount}\n`; csv += `"Characters (with spaces)",${data.stats.charCount}\n`; csv += `"Characters (without spaces)",${data.stats.charNoSpace}\n`; csv += `"Paragraphs",${data.stats.paragraphCount}\n`; csv += `"Sentences",${data.stats.sentenceCount}\n`; csv += `"Reading Time (minutes)",${data.stats.readingTime}\n`; if (data.meta) { csv += `"Page Title","${data.meta.title.replace(/"/g, '""')}"\n`; csv += `"Meta Description","${data.meta.desc.replace(/"/g, '""')}"\n`; csv += `"Total Links",${data.meta.links.length}\n`; csv += `"Internal Links",${data.meta.internal}\n`; csv += `"External Links",${data.meta.external}\n`; csv += `"Total Images",${data.meta.images}\n`; csv += `"Images with Alt Text",${data.meta.imgWithAlt}\n`; } csv += '\n"Word","Frequency"\n'; for (const [word, count] of data.frequency) { csv += `"${word.replace(/"/g, '""')}",${count}\n`; } downloadFile(csv, 'website-analysis.csv', 'text/csv'); }); exportJsonBtn.addEventListener('click', function() { const data = getExportData(); if (!data) { showStatus('No analysis data to export. Analyze some content first.', 'warning'); return; } const json = JSON.stringify(data, null, 2); downloadFile(json, 'website-analysis.json', 'application/json'); }); function downloadFile(content, filename, mimeType) { const blob = new Blob([content], { type: mimeType }); const url = URL.createObjectURL(blob); const link = document.createElement('a'); link.href = url; link.download = filename; document.body.appendChild(link); link.click(); document.body.removeChild(link); URL.revokeObjectURL(url); } // ===== Menu ===== const menuBtn = document.getElementById('menuBtn'); const navLinks = document.getElementById('navLinks'); document.getElementById('currentYear').textContent = new Date().getFullYear(); if (menuBtn) menuBtn.addEventListener('click', () => navLinks.classList.toggle('active')); // ===== Auto-analyze sample on first visit ===== if (!localStorage.getItem('visitedWebCounter')) { const sampleHtml = ` Welcome to Website Counter - Demo Page

Website Content Counter Tool

This is a demo page for the website content counter. It shows how the tool analyzes headings, paragraphs, links, and images.

Features

Count words, characters, paragraphs, sentences, and reading time.

Extract SEO metadata including title and description.

Advanced Analysis

Analyze heading structure, link profiles, and image alt text.

Get word frequency insights to identify content themes.

External Link Internal Link Demo image `; htmlInput.value = sampleHtml; setTimeout(() => { analyzeFromHTML(sampleHtml); }, 400); localStorage.setItem('visitedWebCounter', 'true'); } // ===== Keyboard shortcuts ===== document.addEventListener('keydown', (e) => { if ((e.ctrlKey || e.metaKey) && e.key === 'Enter') { const activePanel = document.querySelector('.web-panel.active'); if (activePanel) { if (activePanel.id === 'panelUrl') analyzeHtmlBtn.click(); else if (activePanel.id === 'panelText') analyzeTextBtn.click(); } } }); console.log('Website Content Counter initialized.'); console.log('Tip: Use Ctrl+Enter to analyze the current panel.'); })();