Whitespace

•

Normalize, trim, collapse, or expand whitespace in text with independent control over various formatting options.

This tool provides a robust solution for standardizing text by offering comprehensive control over whitespace. It can trim leading/trailing spaces, collapse multiple internal spaces into a single space, strip empty lines, expand tabs to spaces, and unify CRLF line endings to LF, ensuring consistent text formatting across various applications and protocols. It's ideal for preprocessing text inputs or cleaning content for display.

主な機能

010 GitHub stars
02Expand tabs to spaces
03Trim leading and trailing whitespace
04Collapse internal runs of whitespace
05Unify CRLF line endings to LF
06Strip empty lines

ユースケース

01Preparing code snippets or configuration files for consistent formatting
02Cleaning user-generated content for display or storage
03Standardizing text input for AI models or language processing