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 →