Rotate Characters in Text
Rotate a string by moving characters from one end to the other. The default is one step to the right, and multi-line mode is on, so each line is rotated separately. A step larger than the string is wrapped, so it behaves like step modulo length.
This tool runs in your web browser: your files and text are processed on your device and are not uploaded to TidyKit servers. Free, no sign-up.
How to rotate
1. Paste the text. 2. Set the step and choose left or right. 3. Copy the result.
`abcdef` rotated 2 places to the right becomes `efabcd`. The same text rotated 2 places to the left becomes `cdefab`.
Privacy
Rotation happens in this tab; nothing is uploaded. This moves characters, it does not change their case or apply a letter-substitution cipher such as ROT13.
Frequently asked questions
What happens if the step is larger than the text?
The step is taken modulo the length of that string (or of that line, in multi-line mode).
Is my text uploaded?
No.
Does multi-line rotate each line, or the whole block?
Each line is rotated on its own when multi-line mode is on (the default). Turn it off to rotate the entire block, including line breaks, as one string.
Is a step of 0 allowed?
A step of 0 leaves the text unchanged.
More Text Tools
- Base64 Encoder/Decoder – Encode or decode data using Base64.
- Bcrypt – Hash strings with Bcrypt
- Text Censor – Quickly mask bad words or replace them with alternative words.
- Create palindrome – Create text that reads the same forward and backward
- Email Extractor – Extract email addresses from text
- Extract substring – Extract a portion of text between specified positions
- Hidden Character Detector – Find hidden Unicode characters in text
- Join Text – Join text elements with a specified separator
- Palindrome – Check if text reads the same forward and backward
- Password Generator – Generate secure random passwords with custom options
- Text Quoter – Add quotes around text with various styles
- Randomize case – Randomize the case of letters in text
- Remove duplicate lines – Quickly delete all repeated lines from text
- Repeat Text – Repeat text multiple times
- Text Replacer – Quickly replace text in your content
- Reverse – Reverse any text character by character
- ROT13 Encoder/Decoder – Encode or decode text using ROT13 cipher.
- Slug Generator – Generate URL-friendly slugs from text.
- Split – Split text into multiple parts using a separator
- Text Statistics – Get statistics about your text
- Table Text Converter – Convert tables between Markdown, CSV, HTML, MySQL, and JSON
- Compare Texts – Compare two texts and spot differences instantly
- String To morse – Quickly encode text to morse
- Truncate Text – Truncate text to a specified length
- Unicode Encoder / Decoder – Encode or decode text using Unicode escape sequences.
- Convert to Uppercase – Convert text to uppercase
- String URL decoder – Quickly URL-unescape a string.
- URL Editor – Inspect and edit URL components and query parameters.
- String URL encoder – Quickly URL-escape a string.