Line Operations
Sort, number, reverse and transform text lines. Free online line operations tool for data processing and text formatting.
Runs locally
Free
No signup
Workspace
Line Operations
Actions
Related tools
Density Converter
Convert density units including kg/m3, g/cm3 and lb/ft3. Free online density converter for physics, engineering and material science.
Temperature Converter
Convert temperature between Celsius, Fahrenheit, Kelvin and more. Free online temperature converter for weather, cooking and science.
PDF Metadata Viewer
View PDF metadata online for free. Inspect Title, Author, Subject, Keywords, Creator, Producer, dates, page count, and file size — no uploads.
Reorder PDF Pages
Reorder PDF pages online for free. Rearrange every page with up/down buttons, validate against duplicates, and export a clean resequenced document.
Crop PDF
Crop PDF pages by exact top, bottom, left, and right margins in millimetres online for free. Built-in validation prevents over-cropping — no uploads.
PNG to PDF
Combine PNG images into a single PDF online for free. Reorder images, choose image-fit or A4/US Letter pages, and adjust margins — no uploads.
Guide
How to use Line Operations
Line Operations performs actions on every line of your text, including sorting, numbering and reversing. Enter multi-line text, choose an operation, and copy the result. It is perfect for data processing and formatting lists.
How to use this tool
- Enter your multi-line text.
- Select the line operation you want.
- Click process to apply the operation.
- Copy the result.
When to use this tool
- Sorting lists alphabetically for readability.
- Numbering lines in a script or document.
- Reversing line order for logs or data.
- Tidying imported CSV or text data.
Practical examples
Pasting an unsorted list of names and choosing sort returns them in alphabetical order. Numbering the sorted lines then adds 1, 2, 3 prefixes so each item is easy to reference in a meeting.
Tips for accurate results
- Remove blank lines first if they affect your sort.
- Pick case-sensitive or insensitive sorting to match your data.
- Keep a backup of the original order if it matters.
Frequently asked questions
What line operations are available?
The tool can sort, number, reverse and otherwise transform lines of text.
Can it sort case-insensitively?
Yes, choose the matching mode before processing.
Does it work with large text?
Yes, it handles large blocks of text directly in your browser.