Skip to content
PrivBay

Text tools

Review a draft, write Markdown, add Mandarin pinyin, clean up a pasted list or change letter case in your browser.

10 tools

Which text tool do you need?

Count words and compare two drafts side by side

Use the word counter to check an article, essay or social post against a word or character limit and estimate reading and speaking time. The counts update as you type or paste. When you have two revisions of an article, contract or notes, open text compare to place the original and revised drafts side by side. It counts added and removed lines, highlights changed words inline, and lets you ignore case or whitespace differences. For source code diffs that require line numbers and a downloadable unified .patch file, use the code diff checker.

Write Markdown and add Mandarin pinyin

For structured notes, README drafts and documentation, the Markdown editor previews headings, tables, lists and fenced code blocks alongside your source, with optional browser draft saving and one-click HTML copy or .md download. When preparing reading exercises, worksheets or glossaries with Chinese text, Chinese to Pinyin adds Mandarin pinyin annotations for simplified or traditional characters without sending your text to an external service.

Clean up spacing, duplicate lines and capitalization

Text copied from PDFs, emails, spreadsheets or web pages often carries broken line wraps, stray tabs or repeated entries. Start with remove extra spaces to trim leading and trailing whitespace, collapse repeated spaces and tabs, delete blank lines or join wrapped lines into a single paragraph. When working with a line-by-line list of names, URLs, tags or emails, use remove duplicate lines to keep the first occurrence of each line and sort the list in natural order.

To standardize headings, sentences or variable names, paste the text into the case converter and switch between UPPERCASE, lowercase, Sentence case, English Title Case, camelCase, snake_case and kebab-case. To update repeated terms or reformat structured text across a draft, use find and replace text with literal phrases or JavaScript regular expressions.

Generate placeholder copy and Unicode text styles

When building a wireframe, mockup or template before final copy is ready, use the Lorem ipsum generator to produce an exact number of words, sentences or paragraphs as plain text or <p> HTML markup. For social bios, headings and short labels, the fancy text generator converts plain text into bold, italic, script, gothic and monospace Unicode characters that you can copy with one click.

Frequently asked questions

Can I compare two text files without uploading them?

Yes. Text compare accepts one UTF-8 .txt file on each side or pasted text, and highlights word-level edits directly in your browser.

Can I ignore capitalization or spacing when comparing drafts?

Yes. Enable Ignore case or Ignore whitespace in Text compare so you can focus on wording changes rather than formatting differences.

Can find and replace use regular expressions and capture groups?

Yes. Switch Find and replace text to regular expression mode to match patterns and reference numbered or named capture groups in the replacement.

What is the difference between removing extra spaces and removing duplicate lines?

Remove extra spaces trims line edges, collapses repeated spaces and tabs, and optionally joins or deletes blank lines. Remove duplicate lines compares whole lines to deduplicate or sort a list.

Do the fancy Unicode styles require installing a font?

No. The fancy text generator maps letters and digits to mathematical and decorative Unicode characters that you can copy and paste as plain text.

Last updated November 12, 2026