This chapter covers the core features and capabilities of Keyword Density Checker.
# Analyze a text file
python src/keyword_density_checker.py --input examples/sample_article.txt
# Check specific keyword densities
python src/keyword_density_checker.py --input article.txt --keywords "seo,keyword density,python"
# Analyze HTML content
python src/keyword_density_checker.py --input page.html --keywords "seo tools"
# JSON output
python src/keyword_density_checker.py --input article.txt --format json --output report.jsonFollow this guide to get Keyword Density Checker up and running in your environment.
| Status | Density Range | Meaning |
|---|---|---|
absent | 0% | Keyword not found |
low | < 0.5% | Might need more mentions |
optimal | 0.5% - 2.5% | Sweet spot |
high | 2.5% - 3.0% | Getting aggressive |
stuffed | > 3.0% | Risk of penalty |
| Flag | Description |
|---|---|
--input, -i | Input file path (required) |
--keywords, -k | Comma-separated target keywords |
--html | Force HTML parsing mode |
--format, -f | Output: text or json |
--output, -o | Output file (default: stdout) |
Get the full Keyword Density Checker and unlock everything.
Get the complete guide with every chapter unlocked, including code samples, diagrams, and best practices.
Access all interactive tools with complete data, all workload profiles, and the full scenario library.
Downloadable source code, configuration files, and working examples from every chapter.
Free updates for life. Every new chapter, tool, and improvement included.