Phrase experiments
Reverse space-separated parts without reversing their letters.
Reverse the order of words in each line of text—fast, free, and online
Reorder space-separated parts of a line without reversing the letters inside them.
Reverse space-separated parts without reversing their letters.
Process each source line independently.
Check repeated spaces and tabs before relying on word boundaries.
Each original line is processed separately.
Each line is split into non-whitespace words, and the words are placed back in reverse order. Spaces and tabs separate words. The same spaces and tabs remain between the reversed words, including whitespace at the start and end. Punctuation travels with its word, and the lines remain in their original order.
A short input makes the transformation easier to inspect.
This example was checked with the current tool. The options shown apply only to this example; your editor keeps the settings you select.
One two three Red green blue
three two One blue green Red
Upload a text file, write directly, or try the sample.
The entry screen accepts one UTF-8 TXT, CSV, JSON, XML, HTML or HTM file and opens the editor. Imports are text content, not a PDF or Word conversion. Review the source and choose Reverse Text Line Words when ready. Editing or importing alone does not apply the transformation.
The result is editable before you copy or download it.
Edit the result if needed, then copy it or download UTF-8 TXT. Continue to offers compatible next tools based on the current result and their limits. It carries the text into a fresh destination workspace without running the next operation automatically.
Maximum input and result: 1 MB of UTF-8 text, with a 1,048,576-character input ceiling. Expanding transformations must also fit the result limit.
This text operation runs in your browser; its source and result are not sent for conversion. A draft may be kept in this browser tab when session storage is available. Clear removes the current draft; download important work before closing the tab.
See the Privacy Policy for file and data handling.
No. This tool processes text in your browser. Text-file imports and downloads stay on your device.
Yes. The result remains editable. Copy it or download a UTF-8 .txt file from the result page.
Text input and generated output are limited to 1 MB to keep your browser responsive. Split larger documents into smaller parts.
QUICK VIDEO TUTORIAL
Reverse words in each line
Reverse words in each line
English narration
Watch the video