Text Mirror & Reverser Tool
Flip your text horizontally, vertically, or reverse words with ease. 100% browser-safe formatting.
copyright>// let flipType = 'horizontal';
function setFlipType(type) {
flipType = type;
// Toggle tab styles
document.getElementById("horizontalTab").style.background = (type === 'horizontal') ? "#0d6efd" : "#f1f1f1";
document.getElementById("horizontalTab").style.color = (type === 'horizontal') ? "white" : "#333";
document.getElementById("verticalTab").style.background = (type === 'vertical') ? "#0d6efd" : "#f1f1f1";
document.getElementById("verticalTab").style.color = (type === 'vertical') ? "white" : "#333";
document.getElementById("reverseTab").style.background = (type === 'reverseWords') ? "#0d6efd" : "#f1f1f1";
document.getElementById("reverseTab").style.color = (type === 'reverseWords') ? "white" : "#333";
mirrorText();
}
function mirrorText() {
const input = document.getElementById('mirrorInput').value;
let output = "";
if (flipType === 'horizontal') {
output = input.split('').reverse().join('');
} else if (flipType === 'vertical') {
const lines = input.split('n');
output = lines.map(line => line.split('').join('n')).join('nn');
} else if (flipType === 'reverseWords') {
const words = input.split(/s+/);
output = words.map(word => word.split('').reverse().join('')).join(' ');
}
document.getElementById('mirrorOutput').value = output;
}
function copyMirroredText() {
const output = document.getElementById('mirrorOutput');
if (!output.value) return alert("Nothing to copy!");
output.select();
document.execCommand("copy");
alert("Flipped text copied!");
}
function clearMirror() {
document.getElementById('mirrorInput').value = "";
document.getElementById('mirrorOutput').value = "";
}
function printOutput() {
const text = document.getElementById("mirrorOutput").value;
if (!text) return alert("Nothing to print.");
const win = window.open("", "", "width=600,height=400");
win.document.write("
" + text + "
");
win.document.close();
win.print();
}
// ]]>
About Text Mirror & Reverser Tool
This tool allows you to flip, mirror, and reverse text in various ways — horizontally, vertically, or by words. Perfect for stylizing text for social posts, email fun, or creative design. Fully optimized for Blogger and modern browsers.
How to Use:
- Type or paste your content into the input box.
- Select a flip option: horizontal, vertical, or reverse words.
- View the transformed output and copy, clear, or print as needed.
Pro Tips:
- Horizontal: Reverses entire string (great for playful formats).
- Vertical: Stacks each character line-by-line (Blogger safe).
- Reverse Words: Reverses characters of each word but keeps word order intact.
- Use on social media, mockups, secret notes, or fun email signatures!