Letter Incrementer

Shifts every letter in your text forward by a chosen number of positions in the alphabet, wrapping z back to a and Z back to A, an adjustable Caesar-cipher-style shift that preserves case and leaves non-letters untouched. A free online tool from Staaarter, right in your browser.

Runs locallyUpdated 2026-07-23

Overview

Introduction

The Caesar cipher is one of the oldest and simplest ways to obscure text by shifting each letter a fixed number of positions through the alphabet.

This tool lets you apply any shift amount you like, and runs entirely client-side, so nothing you paste is ever uploaded to a server.

What Is Letter Incrementer?

A generalized Caesar-shift tool that moves every letter forward by a chosen number of alphabet positions, wrapping from z back to a (and Z back to A) when it runs past the end.

It's part of this site's String Tools collection and works entirely in your browser.

How Letter Incrementer Works

For every letter, the tool finds its position in the alphabet (0-25), adds the shift amount, wraps the result with a modulo-26 operation, and converts it back to a character, preserving the original uppercase or lowercase.

Non-letter characters, including digits, spaces, and punctuation, pass through completely unchanged.

When To Use Letter Incrementer

Use it for lightweight text obfuscation, puzzle-making, or teaching how Caesar-cipher shifts work.

It's also handy for quickly generating a shifted version of text to compare against a specific shift amount.

Often used alongside ROT13 Encoder/Decoder and Letter Decrementer.

Features

Advantages

  • Adjustable shift amount, unlike a fixed ROT13.
  • Case and non-letter characters are preserved exactly.

Limitations

  • Not real encryption or security; Caesar shifts are trivially breakable and only 26 possible shifts exist.
  • Only supports the basic Latin alphabet; accented or non-Latin letters are left unchanged.

Examples

Shifting forward by 3

Input

abc XYZ

Output

def ABC

Each letter moves 3 positions forward; X, Y, Z wrap around back to A, B, C.

Best Practices & Notes

Best Practices

  • Use Letter Decrementer with the same shift amount to reverse the transformation.
  • Remember a shift of 13 is equivalent to this site's dedicated ROT13 tool.

Developer Notes

The core formula is `((charCode - base + shift) % 26 + 26) % 26 + base`, where `base` is 65 for uppercase or 97 for lowercase. The extra `+ 26) % 26` guards against negative shift values producing a negative modulo result.

Letter Incrementer Use Cases

  • Lightweight obfuscation of text in a puzzle or game
  • Teaching or demonstrating how Caesar-cipher shifts work
  • Quickly testing a specific shift amount against known plaintext

Common Mistakes

  • Treating this as secure encryption; Caesar shifts offer no real security since there are only 26 possible shifts to try.
  • Forgetting that a shift of 0 or 26 produces no visible change.

Tips

  • To decode text shifted with this tool, use Letter Decrementer with the same shift amount, or increment by (26 - shift).

References

Frequently Asked Questions