Turn a sentence around, one word at a time
Sometimes you need the same words in the opposite order: a puzzle for a class, a test string for your code, a list that was typed from the wrong end. Paste the text and the words come back last-to-first, while each word itself stays readable. The tool does not touch the spelling, only the order, so "one two three" becomes "three two one". It is a small job, but a tedious one to do by hand once the text runs past a couple of lines.
Line, sentence or the whole block
You decide what counts as one unit. Each line can be flipped on its own, each sentence can be flipped inside its own full stops, or the whole text can be treated as one long sentence.
How to use Reverse Words in Text
- Paste or type your text into the box.
- Choose whether to flip each line, each sentence or the whole text as one block.
- Tick the options you want: keep the original spacing, keep the final full stop in place, fix the capital letters.
- Solve the security check and press Reverse words.
- Read the summary, then copy the result or download it as a text file.
About Reverse Words in Text
A word here is any group of characters between spaces, so punctuation stays attached to the word it was typed with: "Hello, world!" becomes "world! Hello,". In line mode every line is flipped separately and the line breaks stay in place. In sentence mode the text is cut after . ! ? the ellipsis and the Bengali danda, each piece is flipped and its ending mark stays at the end. In whole-text mode the line breaks keep their position in the text but the words move across them. Keep the original spacing leaves every gap (double spaces, tabs, line breaks) exactly where it was and only swaps the words. Keep the final full stop in place moves a closing . ! or ? out of the way before flipping and puts it back at the end. Fix the capital letters writes the new first word with a capital and lowers the old first word, unless that word is an acronym or a single letter such as I.
Purpose of Reverse Words in Text Tool
Use it for word puzzles and language games, to build test data for code that handles word order, to check how a sentence reads backwards when proofreading, or to reorder a list that was written in the wrong direction. If you want each word spelled backwards instead, use the Reverse Each Word tool.
Limitations of Reverse Words in Text
- Only the order of the words changes. To spell each word backwards use the Reverse Each Word tool, and to flip the lines use a line-sorting tool.
- Sentence mode cuts at every full stop, so abbreviations such as Dr. or e.g. are treated as the end of a sentence. Use line mode for such text.
- The capital-letter fix only looks at the first word of each unit, so names in the middle of a sentence keep the case you typed.
- Text over 2 million characters is refused to keep the page fast.
Privacy and data
Reverse Words in Text runs entirely in your browser. What you type or select is processed on your own device and is never sent to or stored on our server. See our Privacy Policy for details.
Frequently asked questions
How do I reverse the order of words in a sentence?
Paste the sentence, choose Each sentence or Each line and press Reverse words. The last word becomes the first and the first word becomes the last.
Does it reverse the letters inside the words?
No. Each word stays readable and only the order changes. Use the Reverse Each Word tool when you want the letters of every word reversed.
Is the word reverser free and safe to use?
Yes. The word reverser is free to use and runs in your browser, so your text is not uploaded, stored or logged.
How do I reverse a sentence word by word?
Paste the sentence, choose each sentence and run. The words come out in the opposite order, for example one two three becomes three two one.
Can I keep the end punctuation in place?
Yes. The tool keeps the spacing and the end punctuation, so a full stop still ends the sentence.
Rate Reverse Words in Text
No ratings yet. Be the first to rate this tool.
Report a bug or give feedback
Popular tools
Morse Code to Text
Decode Morse code made of dots and dashes into readable text, with flexible separators and error marking.
Text ToolsWebpage URL to Text
Turn a web page address, pasted page source or an HTML file into clean readable text without ads and menus.
Text ToolsASCII to Text Converter
Decode decimal, hex or octal ASCII codes into text, with auto-detection, a code table, control-character names and clear errors for bad codes.
Text ToolsBinary to Text Converter
Decode binary into text as UTF-8, 7-bit ASCII or 16-bit UTF-16, with or without spaces, and find exactly what is wrong when it will not decode.
Text ToolsBMI Calculator
Work out your BMI, category and healthy weight range in metric or imperial units.
Health ToolsBullet List Generator
Turn lines, commas or sentences into a bullet, numbered or checklist, with nested levels, as text, Markdown or HTML.
Text Tools