Keywords Counter

A tool to count keywords in a web page

This keywords counter can help you find keywords in web pages. If you are a designer of web pages you want to be sure that the right keywords appear on your pages. It will be interesting to study keywords that are used on competing web pages.

Use this tool to count keywords in any website (more explanation below the tool).

Enter a valid URL (don't forget http:// or https://)

Web page URL:

Minimum count:


Importance of keywords

The content of a website is made up many words. Some of these words are very general and could be found in any text, but some words are directly related to the main topics of the page. These are the keywords that people use when searching for information. In a website about cars we can expect keywords like “car”, “cars”, “model”, “engine”, “horsepower” and “airbag”, but in a page about earthworms these car related keywords will probably not appear at all.

For a web page developer it can be useful to study other internet pages to get an idea of the important keywords that are used. Reading all these websites is a lot of work, so I decided that I need a tool that can find keywords and also counts the frequency (i.e. the importance) of the keywords on a web page.

Several companies offer paid services of search engine optimization (SEO) which in most cases includes counting keywords. But I wanted something free and simple, so I decided to make my own page with a script to count keywords. The idea is simple: in a form you enter the URL of a website, the script reads the page, extracts all the words, and then makes a frequency count of (almost) all the words that appear on that page.

Some very common words, such as “about”, “the”, “if”, “with” "a", "in", "to", and “and” are useless as keywords, so the script uses a list of such common words and filters them out.

To make the tool a bit more flexible for the user I also included an option to filter out words that appear only few times. If you set the value of the "minimum count" to 3, the script will only show words that appear at least 3 times in the web page. For pages with a lot of text it is advisable to set a higher "minimum count" to avoid seeing hundreds of unimportant words.

Instead of showing a frequency table for all the words, the results are presented as an alphabetical list where the more frequent keywords are shown in a bigger font size. This gives quite a nice visual picture of the keyword results. You can hover over a word with your mouse pointer to see the actual frequency count of that word.

How to use this script? Just type the URL of the website you want to analyze in the box below. Type the full name, including the http:// at the beginning (but if you forget http:// the script will add it for you). The easiest way is to search or surf to the page you are interested in and copy the URL in the box. Then select a minimum count, and finally hit the "count keywords" button. Then wait a bit, because depending on the size of the page the script needs more or less time to read the web page.

If in the results you see this sign: �, it means that the website contains some characters (possibly from other languages) that were not recognized by the script.

Oh … and if you enter a non existing web site you will get some warning message from the PHP script. Don’t worry, just fix the URL and try again.

Keywords that are ignored by the script

This tool was designed to count keywords in English language web pages. Here is an alphabetical list of all the common English words and characters that are ignored by the script:

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, a, about, after, again, al, all, almost, along, also, am, amp, an, and, another, any, are, area, around, as, at, available, b, back, be, because, been, before, being, best, better, big, bit, both, but, by, c, came, can, capable, come, control, could, course, d, dan, day, decided, did, didn, different, div, do, doesn, don, down, drive, e, each, easily, easy, end, enough, et, even, every, example, f, few, find, first, for, found, from, g, get, go, going, good, got, gt, h, had, hard, has, have, he, her, here, him, his, how, i, i, if, in, into, is, isn, it, its, j, just, k, know, l, last, left, li, like, little, ll, long, look, lot, lt, m, made, make, many, mb, me, menu, might, mm, more, most, mr, mrs, much, my, n, name, nbsp, need, new, no, not, now, number, o, of, off, old, on, one, only, or, original, other, our, out, over, own, p, part, place, point, pretty, probably, problem, put, q, quite, quot, r, re, really, results, right, s, said, same, saw, see, set, several, she, should, since, size, small, so, some, something, special, still, stuff, such, sure, system, t, take, than, that, the, their, them, then, there, these, they, thing, things, think, this, those, though, through, time, to, today, together, too, took, two, u, until, up, upon, us, use, used, using, v, ve, very, w, want, was, way, we, well, went, were, what, when, where, which, while, who, will, with, would, x, y, you, your, z

Search Engine Optimization (SEO)

I hope you like my little tool and perhaps you can use it for your own search engine optimization (SEO). Run the tool first on your own page and look at the density of your most important keywords. Then use a search engine, for example Google, and search pages using your own keywords. If you are lucky your own page will show up, but more likely you will find similar pages that have a higher page ranking.

Copy the URL of these pages and run them in the keyword counter tool. Now you will view which keywords are important (most frequent) in these competing pages. If your page did not include these keywords, perhaps you should consider including them, but of course only if they are relevant to your text. If your page did include the keywords already you should consider increasing their weight by using them a bit more often.