Text File Word Counter
Text File Word Counter is a free text tool that runs directly in your browser with no account required.
About this tool
Upload a .txt or .md file, or paste its contents, to get word, character, and line counts along with reading time, file size, and average line length. Handy for checking manuscript lengths, README sizes, or export files without opening an editor.
How to use
- Click Upload file to load a .txt or .md file, or paste text into the Input area.
- Review Words, Characters, Lines, and Reading time in the results grid.
- Check File size and Average line length for a quick sense of density.
Frequently asked questions
Which file types are accepted?
Plain-text files, including .txt and .md. The file is read as text, so any UTF-8 text file works; binary formats like .docx or .pdf will not give meaningful counts.
Can I edit the text after uploading?
Yes. The file's contents load into the input area, where you can trim or modify them and the counts update accordingly.
What does Average line mean?
The total character count divided by the number of lines, giving average characters per line, which is useful for spotting files with very long unwrapped lines.
How is reading time calculated?
Word count divided by 225 words per minute, rounded up to a minimum of one minute.
Is my file uploaded to a server?
No. Despite the "Upload file" label, the file is read locally with the browser's File API and analyzed on your device only.