Alternating Case Converter
Alternating Case Converter lets you alternate lowercase and uppercase across letters, leaving punctuation intact. Enter your own values or load the worked example.
- Copy or download the computed result
- Adjust input text
- See the processing method and limits
Method and calculation
Alternate lowercase and uppercase across letters, leaving punctuation intact.
Inputs and settings
Alternating Case Converter accepts Input text.
Worked example
Alternating Case Converter example — Input text: "Hello world\nA second line\nHello world". Computed output: hElLo WoRlD a SeCoNd LiNe HeLlO wOrLd
Output and limitations
Alternating capitalization is a visual text effect rather than a title-casing convention. Only letters advance the toggle; spaces and punctuation pass through unchanged. Unicode casing may expand certain letters into multiple characters, which can increase the resulting string length.
Technical references: JavaScript Unicode normalization