How to use Reverse Lines
- Paste multiline text or choose a local text or Markdown file.
- Select line order, per-line characters, whole-text graphemes, or per-line words.
- Check trailing-line handling and download line endings before saving the output.
Supported behavior
Reverse Line Order offers four separate transformations that are often confused with one another. It can invert the order of lines, reverse characters inside each line, reverse the entire text, or reverse word order within every line. Character-oriented modes operate on Unicode grapheme clusters rather than UTF-16 units, keeping family emoji, flags, and combining accents intact instead of splitting visible symbols. An option controls whether an empty trailing line is preserved, and downloaded output can use the required line-ending style. Line-order reversal does not alter the text within a line; per-line character and word modes do not reorder the lines themselves. Pasted content and local .txt or .md files are transformed entirely by your browser and are never uploaded. Word reversal follows detected word boundaries and is not a grammatical translation, while grapheme behavior depends on the current browser’s Unicode segmentation support. Preview the chosen mode before replacing source material because different reversal operations can look deceptively similar on one-line ASCII text.
- Reversed word order is mechanical and does not preserve grammar or punctuation semantics.
- Grapheme boundaries follow the browser’s installed Unicode segmentation data.
Examples
oldest
middle
newest
Result: newest middle oldest
one two three
red green
Result: three two one green red
Common use cases
- Show a chronological log with the newest line first.
- Reverse word order for a language or layout experiment.
- Create Unicode-safe mirrored test strings without corrupting emoji.
Frequently asked questions
Will a family emoji break apart?
No when reversing characters or the full text; grapheme-cluster segmentation keeps the joined emoji together.
Does reverse line order also reverse letters?
No. It only changes the sequence of complete lines.
Can the final empty line be retained?
Yes. Empty trailing line preservation is an explicit option.
Can I download Windows line endings?
Yes. Select the available download line-ending option before saving.

