Text & Encoding

Text & string tools

Text pasted from somewhere else rarely comes in clean — stray whitespace, mixed line endings, or lines that need sorting and deduplicating before you can use them. These tools handle that everyday text cleanup, along with comparing two versions of a document, converting between naming styles like camelCase and snake_case, counting words and bytes, and generating placeholder copy for a layout.

Whitespace cleaner shows exactly what it's about to remove before you apply it, and Text line tools runs sort, dedupe and filter as ordered steps so you can build up a specific transformation instead of doing it in one pass. text diff exports an actual unified patch format, not just a colored view, and Word counter breaks down Unicode units and bytes separately, which matters once text has emoji or non-Latin characters in it.

8 tools

Text & Strings tools FAQ

Why does my character count not match the byte count for the same text?

Unicode characters outside basic ASCII, like emoji or accented letters, take more than one byte in UTF-8. Word counter reports Unicode units and byte size separately, so you can see the difference directly instead of guessing why a length limit measured in bytes rejects text that looks short.

How do I fix line endings when a file has mixed CRLF and LF?

Line ending converter normalizes an entire file to CRLF, LF or CR in one pass while preserving the text encoding, which avoids the mojibake that can happen when a line-ending fix is done with the wrong tool. Run it before committing a file that's been edited on both Windows and Linux.

What's the difference between a regular diff and a unified patch?

A unified patch is a specific text format with @@ hunk headers and +/- line markers that tools like git apply can consume directly. text diff can export in that exact format, not just show colored differences on screen, so you can save or apply the comparison as a real patch file.