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.

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

Alternating Case Converter FAQs

Alternating Case Converter applies the following rule to your input: Alternate lowercase and uppercase across letters, leaving punctuation intact. The worked example on this page uses the same processor as the result button.
Alternating Case Converter has these boundaries: Input is treated as plain text; it is never executed. Start by checking the input text field against the units or format shown.
Alternating Case Converter provides this sample: hElLo WoRlD a SeCoNd LiNe HeLlO wOrLd. Use the sample button to reproduce it, then replace the inputs with your own values.