Reference
The background behind the tools: how counts are defined, why encodings exist, and what the common text and document formats contain.
Text counting
How words, characters, sentences and other text statistics are counted, and why different tools disagree.
- How Word Counting Works
What counts as a word, how word processors differ on dashes, numbers and URLs, and the exact rules TexaDocBase uses.
- Character Count vs Word Count
When limits are set in characters rather than words, how the two relate, and how to convert between them for different languages.
- Unicode Characters: Code Units, Code Points and Graphemes
Why one emoji can count as 1, 2 or 4 characters, and the difference between UTF-16 code units, Unicode code points and grapheme clusters.
- Common Text Statistics and What They Tell You
Definitions and practical uses for word count, average word and sentence length, unique words, type-token ratio and paragraph length.
Writing
How reading and speaking time are estimated, and the rules behind title case and sentence case.
- How Reading Time Is Calculated
Where reading-speed figures come from, why 200, 238 and 250 words per minute all appear, and how to choose a rate for your readers.
- How Speaking Time Is Estimated
Typical speaking rates for presentations, podcasts and voice-overs, how to time a script, and why rehearsal beats any calculator.
- Title Case Rules: AP, Chicago, APA and MLA Compared
Which words to capitalize in titles under AP, Chicago (18th edition), APA and MLA, where they disagree, and the rule TexaDocBase applies.
- Sentence Case Rules: When and How to Use It
How sentence case works for headings and interfaces, what to do with proper nouns, acronyms and colons, and why many publishers prefer it.
SEO text
What is known and not known about title length, meta descriptions and keyword density, without ranking myths.
- Meta Title and Description Length Explained
What is known about how search engines display titles and descriptions, why truncation is measured in pixels, and what length guidance is worth following.
- Keyword Density Explained (and Why There Is No Ideal Percentage)
How keyword density is calculated, the different formulas in use, what search engines say about repetition, and how to use density as an editing aid.
Text formats
How URL percent-encoding, HTML entities, Markdown, JSON, Base64, line endings and common cleaning methods work.
- URL Encoding (Percent-Encoding) Explained
Why URLs need encoding, which characters are safe, how UTF-8 bytes become %XX sequences, and the difference between encodeURI, encodeURIComponent and form encoding.
- HTML Entities Explained
What HTML character references are, which characters must be escaped, named versus numeric references, and when you still need entities with UTF-8.
- Markdown Basics
The essential Markdown syntax for headings, emphasis, lists, links, images, code and tables, plus the differences between Markdown flavors.
- Line Endings Explained: CRLF, LF and CR
Why Windows, macOS and Linux use different line-break characters, the problems mixed line endings cause, and how tools handle them.
- Text Cleaning Methods
The common operations for cleaning text data — trimming, whitespace normalization, deduplication, case folding, Unicode normalization — and the order to apply them.
- JSON Syntax Explained: Rules and Common Errors
The complete JSON syntax in one page, the mistakes that make JSON invalid, and why large numbers can change when JSON is parsed in JavaScript.
- Base64 Encoding Explained
How Base64 turns bytes into text, why it makes data about a third larger, what base64url is, and why Base64 is not encryption.
Document formats
An overview of common text and document file formats, plain versus rich text, and character encodings such as UTF-8.
- Common Text and Document File Formats
What .txt, .csv, .md, .html, .json, .xml, .rtf, .docx, .odt, .pdf and .epub files actually contain, and when to use each.
- Plain Text vs Rich Text
The difference between plain and rich text, what happens to formatting when you copy and paste, and why plain text is often the better choice.
- Character Encoding and UTF-8
What a character encoding is, why UTF-8 became the standard, how garbled text (mojibake) happens, and how to avoid encoding problems.