Diysb Tools

Rotate Text

Rotate characters in text by specified positions.

Text Tools

String Rotation

This tool allows you to rotate characters in a string by a specified number of positions. You can rotate to the left or right, and process multi-line text by rotating each line separately. String rotation is useful for simple text transformations, creating patterns, or implementing basic encryption techniques.

Input Text
Rotated Text
Tool options
Rotation Options
Number of positions to rotate
Rotate Right
Rotate Left
Rotate Text Examples

Rotate text to the right

This example shows how to rotate text to the right by 2 positions.

abcdef
abcdef
efabcd
efabcd
Rotation Options
Number of positions to rotate
Rotate Right
Rotate Left

Rotate text to the left

This example shows how to rotate text to the left by 2 positions.

abcdef
abcdef
cdefab
cdefab
Rotation Options
Number of positions to rotate
Rotate Right
Rotate Left

Rotate multi-line text

This example shows how to rotate each line of a multi-line text.

abcdef ghijkl
abcdef ghijkl
fabcde lghijk
fabcde lghijk
Rotation Options
Number of positions to rotate
Rotate Right
Rotate Left