Text Reverser

This tool reverses text in two different ways, flipping the order of the characters and flipping the order of the words, and counts the characters and words while it is at it. Reversing text is a small task that comes up more often than you might think: programmers test string-handling code with it, puzzle and word-game enthusiasts use it to create or solve challenges, people generate backwards text for fun or for visual effect, and it is a quick way to check for palindromes, words or phrases that read the same forwards and backwards. Doing it by hand is tedious and error-prone, especially for longer text. This reverser does it instantly. You paste or type your text, and the calculator produces two results: the character reversal, where every character is flipped so the last becomes the first, turning the text completely backwards, and the word reversal, where the words keep their spelling but their order is reversed, so the last word comes first. It also shows the character and word counts. Everything updates as you type and runs entirely in your browser, so nothing is uploaded. Use it to reverse a string for a programming test, to make backwards text, to check whether something is a palindrome, by comparing the original with its character reversal, or just for fun. The two modes serve different purposes: character reversal is the literal mirror of the text, useful for palindromes and visual effects, while word reversal keeps each word readable but flips their sequence, which can be handy for certain text transformations. The character and word counts are a useful bonus, saving a separate count when you just need a quick figure.

-
-
Characters11
Words2
Palindrome?No

Character reversal flips every character; word reversal flips the order of words. Palindrome check ignores case, spaces and punctuation. Runs in your browser.

How it works

For the character reversal, the text is split into individual characters, the order is reversed, and they are joined back together. For the word reversal, the text is split on spaces into words, that list is reversed, and the words are rejoined. The palindrome check compares the text, stripped of case, spaces and punctuation, with its own reverse.

Worked example

The text Hello World reversed character by character becomes dlroW olleH. Reversing the word order instead gives World Hello, keeping each word spelled normally but swapping their positions. The text has 11 characters and 2 words, and is not a palindrome since it does not read the same backwards.

Related calculators

If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.

Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.

All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.

Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.

Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.

Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.

All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.

© 2019 to 2026 Calculate.co.nz. All rights reserved.