When text is embedded in a config value, a URL parameter, or a single log field, every extra line break and run of spaces wastes room and can cause parsing trouble.
Text Minifier collapses all whitespace to single spaces and trims the edges, then shows how much smaller the result is.
How to use Text Minifier
- Paste multi-line text with generous spacing.
- Text Minifier folds every run of whitespace into one space and trims the ends.
- Read the before-and-after size and percentage saved, then copy the compact line.
Use cases
- Compacting a block of text to fit a single config value.
- Flattening a message into one line for a log field.
- Shrinking spaced-out text before putting it in a URL parameter.
Good to know
Text Minifier treats every kind of whitespace, spaces, tabs, and line breaks, as one and collapses each run to a single space, producing one compact line. The readout reports the original and final character counts and the percentage reduced. It is a one-shot compactor rather than a per-type whitespace dashboard.
Frequently asked questions
How is minifying different from normalizing whitespace?
Minifying always collapses every whitespace run into one space and reports the size saved; the normalize tool lets you choose which whitespace types to touch and can keep paragraphs.
Should I minify JSON or code with this?
No. It is for plain text; collapsing whitespace can break code or JSON where spacing is meaningful.
What does the percentage shown mean?
It is how much smaller the text became, comparing the character count after minifying to the original.