Line Operations
TextSort, deduplicate, reverse, shuffle, and transform text lines
A grab bag of the line-level operations you'd otherwise reach for a quick script to do: sort (alphabetical or numeric, since alphabetical alone would put "10" before "2", so numeric mode exists for a reason), deduplicate (with a case-insensitive toggle for when "Foo" and "foo" should count as the same line), reverse, and shuffle. It's aimed at cleaning up a list before pasting it into a config file, spreadsheet, or demo dataset: stripping repeats from a merged CSV column, or randomizing a list of test names before assigning them in an A/B test. It handles files up to tens of thousands of lines comfortably; beyond that, everything runs on the main thread in the browser and starts to feel sluggish, at which point a real script is the better tool. Nothing you paste is sent anywhere.
How to use Line Operations
- 1.Paste a list and use sort to alphabetize or numerically order lines before pasting them into a config file or spreadsheet.
- 2.Use deduplicate to strip repeated lines from a log export or merged CSV column without writing a script.
- 3.Use shuffle to randomize a list of test data rows or names before assigning them in a demo or A/B test.
Frequently asked questions
Use via API, SDK, or MCP
cURL# Free: 1,000 req/day · Pro: 10,000 req/day
curl -X POST https://api.utilix.tech/v1/tools/line-ops \
-H "Authorization: Bearer utx_live_..." \
-H "Content-Type: application/json" \
-d '{"input":"banana\napple\ncherry\napple","operation":"dedupe","trim":false}'Get an API key from your dashboard · Full API docs →