Inverser le texte
Reverse text tools flip your text character-by-character, word-by-word, or line-by-line. While it sounds trivial, Unicode-aware text reversal is non-trivial — multi-byte characters, emoji, and combining diacritics must be handled correctly. Our tool reverses text correctly for all scripts and Unicode.
Texte original
Texte inversé
Modes d'inversion
Inverser les caractères
Inverse chaque caractère du texte. "Hello" devient "olleH".
Inverser les mots
Inverse l'ordre des mots. "Hello World" devient "World Hello".
Inverser les lignes
Inverse l'ordre des lignes. La dernière ligne devient la première.
À propos de Reverse Text Generator
Reverse text tools flip your text character-by-character, word-by-word, or line-by-line. While it sounds trivial, Unicode-aware text reversal is non-trivial — multi-byte characters, emoji, and combining diacritics must be handled correctly. Our tool reverses text correctly for all scripts and Unicode.
Comment l'utiliser
- Enter any text.
- Choose reverse mode: reverse characters, reverse words (keep word order reversed), or reverse lines.
- See the reversed output instantly.
- Copy with one click.
Formule et méthodologie
Character reversal: split string into Unicode grapheme clusters (not code points — emoji like flags are multiple code points), reverse the array, rejoin. Word reversal: split on whitespace, reverse word array. Line reversal: split on \n, reverse line array. Naive JS string[...str].reverse() fails for surrogate pairs (emoji); use Intl.Segmenter or a Unicode library.
Cas d'usage courants
- Fun: creating mirror text for social media bios
- Word puzzles: palindrome checking and construction
- Steganography: hiding messages in reversed text
- Typography: right-to-left language experiments
- Programming: testing string manipulation code with expected outputs
Questions fréquentes
Outils connexes
Tous les outils →Intégrer cet outil sur votre site
Gratuit pour usage personnel et commercial. Copiez simplement le code ci-dessous.