Operation order
When enabled, BeanNest trims/collapses whitespace first, handles blank lines, removes duplicates, then sorts. With every option off, preview matches the source.
Clean with a preview
Turn on only the cleanup rules you need, inspect the result beside your source, then copy it or explicitly apply it back.
0 / 50,000 UTF-16 units
Your source is not replaced automatically
Visible before source replacement
Quick feedback
One tap is enough. You can ignore this and keep working.
Thanks — that helps us improve.
When enabled, BeanNest trims/collapses whitespace first, handles blank lines, removes duplicates, then sorts. With every option off, preview matches the source.
Changing an option only changes the preview. `Apply to source` is the only action that replaces the source text, and it applies exactly what is already visible.
Everything runs in this browser tab. Sorting uses a fixed English collation rule when the browser provides it so changing device locale does not silently change the selected A–Z behavior.
Keep checking
Convert text among lower, upper, sentence, title, camel, Pascal, snake, and kebab case without replacing the source.
Open tool →Count words, grapheme-aware characters, lines, paragraphs, and estimated reading time locally as you type.
Open tool →Generate a URL path slug with visible separator, case, Unicode, and narrow ASCII-friendly rules locally.
Open tool →Working notes
Cleanup is line-oriented and does not understand sentences, code, or markup. Duplicate detection may treat lines with different spacing as distinct until whitespace normalization is applied. Sorting uses a simple text order, not a locale-aware collation.
The source and preview remain in this tab and are not uploaded or persisted.
Yes, until you replace the source. The preview is separate from the original, so compare it before copying the cleaned text back into your document.
After the selected whitespace rules are applied, identical remaining lines are treated as duplicates. Change the options if you need case-sensitive or exact-spacing comparisons.