
Word Count and Line Count: Why Every Tool Disagrees
Your editor, wc and an online word counter all report different numbers for the same text. Here's why words, lines and characters differ, and which count to trust.
Tag archive

Your editor, wc and an online word counter all report different numbers for the same text. Here's why words, lines and characters differ, and which count to trust.
What our Text Studio's Base64 decoder does with two kinds of bad input, a truncated string that decodes without a word of complaint, and a result that goes out of date.
41 probes pin down the exact rule behind the Text Studio's Words, Characters, Sentences, Lines and UTF-8 bytes.
Sort lines in your browser tab: natural number order, case sensitivity, and what happens to blank lines, spaces and duplicates. Nothing is uploaded.
Run one line of text through eight case styles in a browser tab - and see what happens to apostrophes, digits and colons.
How the Text Studio decides what counts as a duplicate line: case sensitivity, empty lines, and whether the first or last copy of a repeated line survives.
Clean a messy text file in the browser: normalise line endings to LF, trim trailing spaces, collapse blank lines, then copy, download or feed the result back in. Nothing leaves the tab.
Encode UTF-8 text to Base64 or decode Base64 back to text inside the browser tab - byte counts, padding and a round trip you can check independently.
Run find and replace on text without uploading it: regex, case sensitivity, and how to read the result panel in the browser.
Compare two texts in the browser tab with inline word-level differences. Nothing leaves the tab.
For a Node.js example implementing text classification using OpenAI GPT API, the page that wakes the...
A Node.js worker can summarize text through a chat completions API, but a reliable implementation...