Swap Letters in Words

Reverse groups of letters inside every word - turn readable text into a playful cryptogram.

Swap Letters in Words

This tool swaps groups of adjacent letters in every word of your text.
Paste or type your text in the "Input" field, set the group size & options, and press the "Swap Letters" button to get the scrambled result in the "Output" field.


Load an example

1. Grouping
letters per group (2 = pairs)
Reverse the leftover letters at the end of a word
2. Letter case
Keep each position's original upper/lower case
3. Hyphens & apostrophes
Ready to swap letters.


Overview

The "Swap Letters in Words" tool is a free utility that scrambles text by reversing small groups of adjacent letters inside every word. By default it swaps pairs of letters, so "elephants" becomes "lepeahtns" - a quick, playful cryptogram you can read back once you know the trick.

You control how many letters sit in each group, whether a short leftover at the end of a word is also swapped, and whether the original capitalisation is kept. Two extra settings decide what happens with hyphens and apostrophes, so words like "ice-cream" and "you're" are handled exactly the way you want.

Everything runs locally in your browser, so your text never leaves your device and nothing is ever uploaded or stored. The tool is free to use, needs no account, and works on any device with a modern browser.


How to Use This Tool

1. Add your text: Paste or type it into the "Input" field, click "Upload a file" to load a text file, or use "Load an example" to try a sample.

2. Set the group size: The field is pre-set to 2 (swap pairs). Raise it to 3 or more to reverse longer packs of letters at a time.

3. Adjust the options: Turn on "Swap incomplete groups" if you want a short leftover at the end of a word swapped too, and keep "Preserve case" on so capitals stay at the start of sentences. Pick how hyphens and apostrophes behave.

4. Swap the letters: Click the "Swap Letters" button. The scrambled text appears in the "Output" field with a message showing how many words were processed. Copy or download the result, and use "Clear & Reset" to start over.


Examples

Every example below loads its own text and options - click "Try it" to see the result in the "Output" field right away.

1. Swap letters in pairs

Swap every two consecutive letters and keep the sentence's capitalisation with "Preserve case".

Input
More bacon, more happiness.
Output
Omer abocn, omer ahppnises.

2. Swap triplets of letters

Reverse packs of three letters, swap the leftover group too, and keep apostrophes fixed.

Input
Believe you can and you're halfway there.
Output
leBveie uoy nac dna uoy'er lahawfy ehter.

3. Swap hyphens along

With "Swap Hyphens" on, the hyphen moves with the letters - handy for fixed-width packs.

Input
twenty-one twenty-two twenty-three
Output
-ytnewtone -ytnewttwo -ytnewtthree

4. Stop at hyphens

Each part of a hyphenated word is swapped on its own, with the hyphen staying put.

Input
ice-cream chocolate-chip
Output
cie-rcaem hccolotae-hcpi

5. Skip hyphens

The hyphen is ignored while swapping, then placed back at its original spot.

Input
ice-cream
Output
cic-eerma

6. Stop at apostrophes

An apostrophe splits a word into parts that are swapped separately.

Input
you're it's
Output
oyu'er ti's

7. A longer paragraph

The same default pair-swap applied to a full sentence - note how every word is scrambled yet the capital and punctuation stay exactly in place.

Input
The employee's departure was unexpected, yet the entire department continued its work without missing a single deadline or deliverable.
Output
Hte melpyoee's edaptrrue aws nuxeeptcde, eyt hte neiter edaptremtn octnnieud tis owkr iwhtuot imssnig a isgnel eddailen ro edilevarlbe.

Features & Options

Input & Output: The "Input" textarea is where you type, paste or upload your text. The swapped result is shown in the "Output" textarea, ready to copy or download.

Group size (default: 2): The number of adjacent letters packed together and reversed. With 2, pairs swap: "hello" becomes "ehllo". With 3, packs of three reverse: "flower" becomes "olfrew".

Swap incomplete groups (off by default): When a word's length is not a multiple of the group size, the leftover letters at the end form a short group. Off leaves them as-is - "flower" with size 4 gives "wolfer"; on swaps the leftover too, giving "wolfre".

Preserve case (on by default): The case follows the original position. In "Cows are white" the first letter stays capital, so the result is "Ocsw rea hwtie". Off lets each letter keep its own case and move with it: "oCsw rea hwtie".

Hyphens - Stop / Swap / Skip: "ice-cream" with size 2 becomes "cie-rcaem" (Stop, each part swapped), "ci-ercaem" (Swap, the hyphen moves with the letters), or "cic-eerma" (Skip, the hyphen is ignored then put back).

Apostrophes - Stop / Swap / Skip: The same three rules apply to apostrophes. "you're" with Stop gives "uoy'er"; Swap treats the apostrophe as a letter; Skip ignores it and reinserts it.

Load an example: Loads a sample sentence into the "Input" field and resets the options to their defaults so you can test the tool instantly.

Upload a file: Reads a text file from your device into the "Input" field - handy for swapping saved text.

Copy & Download: "Copy" puts the output on your clipboard for pasting elsewhere; "Download" saves it as a text file.

Swap Letters button: The central action - it reverses the letter groups in every word using your chosen options and writes the result to the "Output" field.

Clear & Reset: Clears both textareas and resets the tool to its initial state.


When to Use This Tool?

🗸 Make a quick, reversible scramble for puzzles, games, or a "decode this" challenge that is still readable once you know the rule.

🗸 Obfuscate short bits of text - like a hint or a spoiler - without a full cipher, keeping the word shapes recognisable.

🗸 Turn a headline or a quote into a playful cryptogram for social posts or classroom activities.

🗸 Experiment with word structure and letter patterns when teaching or studying how we recognise words.


FAQs

FAQ 1: What does "group size" do?
Answer: It sets how many adjacent letters are packed together and reversed. Size 2 swaps pairs, size 3 reverses triplets, and so on. The word "flower" with size 3 becomes "olfrew".

FAQ 2: Why does the end of my word stay unchanged?
Answer: When a word's length is not a multiple of the group size, the leftover letters form a short final group. "Swap incomplete groups" is off by default, so that leftover is left as-is. Turn it on to reverse the leftover too.

FAQ 3: How do hyphens and apostrophes behave?
Answer: Each can be Stop (the symbol stays put and the parts on each side are swapped separately, e.g. "cie-rcaem"), Swap (the symbol moves with the letters, e.g. "ci-ercaem"), or Skip (the symbol is ignored while swapping, then put back, e.g. "cic-eerma").

FAQ 4: Why did my capital letter move?
Answer: With "Preserve case" off, each letter keeps its own upper/lower case and travels with the swap. Turn "Preserve case" on and the case follows the original position instead, so a capital at the start of a sentence stays at the start.

FAQ 5: Does this tool change my original text?
Answer: No. The "Input" field is never modified; only the copy in the "Output" field reflects the swapped letters and your options.

FAQ 6: Is my text private?
Answer: Yes. The tool runs entirely in your browser with JavaScript. Your text is never uploaded to or stored on our servers.

TextToolz

The Ultimate Text Tools

TextToolz works seamlessly to let you convert and design your text. It is fast, reliable and secure. Trusted by thousands of users.