toolgarden.xyz
中文

Text tools

Convert Markdown to PDF or complete HTML, copy HTML code, count text, and compare text differences. Everything runs locally in your browser with no upload required.

Text is processed locally in your browser and is not uploaded to a server.

Text tools

What this category is for

This category works on plain text itself: counting how much of it there is, finding what changed between two drafts, turning Markdown into something deliverable, and lifting text back out of an image.

Nothing is uploaded; comparison and counting both run in the browser; so unpublished manuscripts, draft contracts and records containing personal data are all fair game.

Choosing between these tools

You need to know the length
Word Count reports characters, words, lines, paragraphs, sentences and byte size at once. The gap between counting Chinese by character and English by word is visible here, and a submission limit almost always means one specific one of these numbers.
You need to see what changed
Text Diff highlights insertions, deletions and edits at both line and word level; for contract versions, translation review and manuscript revisions. If both sides are JSON, JSON Diff gives you differences by field instead of by line.
You need to ship the Markdown
Markdown to PDF generates a downloadable PDF locally with mixed-script text and automatic pagination. Markdown to HTML emits complete HTML you can preview, copy and download into a CMS or an email.
The text is inside an image
Run Image OCR first to extract it, then bring the result to the tools above for counting or comparison.

Formats and capabilities compared

How a word count is defined causes more confusion in this category than anything else. The same text can differ by more than a factor of two between rules.

DefinitionFor CJK textFor Latin textWho asks for it
Characters, with spacesEach character and punctuation mark counts as 1Each letter, space and mark counts as 1Publisher and journal length limits
Characters, no spacesAlmost the same as with spacesClearly lower than the with-spaces figureSome submission systems and ad-copy limits
WordsUsually equals the character count, since CJK has no word spacesSplit on whitespace, roughly a sixth of the character countEnglish academic writing and per-word rates
Byte sizeA CJK character normally takes 3 bytesAn ASCII character takes 1 byteDatabase column lengths and payload limits

Limits that apply across this category

There is no single correct way to count words. CJK text is normally counted by character and English by whitespace-delimited word, and whether punctuation, spaces and numerals count varies by publisher. Follow whatever definition your target platform gives; the several figures here exist so you can match any of them.

Text Diff is a literal comparison by line and by word; it does not understand meaning. Paraphrases and reordered clauses show up as large differences, while a critical change to a number or a unit may show as a single character. Important documents still need a human read.

Markdown to PDF renders with the fonts available in your browser, so output depends on your system fonts. When the typography has to match across devices, treat the generated PDF as the authority rather than the on-screen preview.

Frequently asked questions

Do the text tools upload my content?
No. Word counting, text diff, Markdown conversion and OCR all run locally in your browser, so content is never uploaded.
What text tools are available?
Word count, text diff, Markdown to PDF, Markdown to HTML, and image OCR text recognition.
Are the text tools free?
Yes. Every text tool is free to use without an account and runs directly in your browser.
Does Markdown to PDF support Chinese?
Yes. It renders both Chinese and English correctly with automatic pagination, generating a downloadable PDF locally.