Random Case Converter

rAnDoMlY assign uppercase or lowercase TO EACH letter. Each conversion is different — refresh for a new mix.

Input
Output

What is RaNdOm CaSe?

Random case capitalizes each letter independently at random — each letter has a 50% chance of being uppercase and a 50% chance of being lowercase, decided fresh for every character. "Hello world" might become "HelLO wORld" one moment and "hELlo woRLD" the next. The output is genuinely non-deterministic; running the same input twice produces different results.

Random case has no formal use in writing, programming, or design. It's an entertainment effect, a stress test, and occasionally a tool for generating chaotic-looking placeholder text. The convention exists because random transformations are a natural extension of case-converter functionality — if you have inverse case and alternating case, random case follows logically as the third member of the family.

Unlike alternating case, random case has no cultural meaning. It's not associated with mockery, sarcasm, or any specific online community. It's pure noise.

When to use RaNdOm CaSe

  • Placeholder text for visual designs. When you need filler text that looks like content but signals "this isn't real" — random case is more obviously fake than lorem ipsum because the case pattern is unnatural.
  • Typography stress-testing. Random case produces letter patterns no human would type, exposing rendering bugs that uniform case never reveals. Font designers occasionally test their typefaces with random-case input.
  • Demonstrating randomness in code. "Write a function that randomly capitalizes each letter" is a common beginner programming exercise. The visible randomness in the output makes it easier to verify the function works.
  • Test data for case-insensitive systems. If you're testing whether your application handles case-insensitive comparison correctly, random-case inputs are an aggressive way to verify the comparison logic doesn't accidentally depend on case.
  • CAPTCHA generation. Some image-based CAPTCHAs use random case as one of multiple distortions applied to challenge text. The randomness makes optical character recognition slightly harder.
  • Visual chaos in art and design. Random case is occasionally used in poster design, album art, or zine layouts as a deliberate aesthetic choice — conveying disorder, glitch, or stream-of-consciousness energy.
  • Creative writing about chaos or instability. Characters in fiction whose thinking is fragmented or unreliable are sometimes given dialog in random case to visualize the instability.

How RaNdOm CaSe conversion works

  1. Iterate through every character in the input string.
  2. For each letter, generate a random boolean — typically by calling Math.random() < 0.5 in JavaScript or an equivalent in other languages.
  3. If the random value is true, uppercase the letter; otherwise lowercase it.
  4. Non-letter characters pass through unchanged.
  5. Concatenate the results into the output string.

True randomness versus pseudo-randomness

The "random" in random case is pseudo-random — generated by a deterministic algorithm seeded with some initial value (often the current time). For any practical purpose, this is indistinguishable from true randomness; the output is unpredictable and uniformly distributed.

For cryptographic uses, pseudo-random isn't sufficient — you'd need a cryptographically-secure random number generator (CSPRNG). But random case isn't a cryptographic operation. The standard Math.random() is more than adequate.

Reproducibility

Because each run produces different output, random case isn't reproducible by default. If you need the same output twice — say, for a test that should produce identical results across runs — you'd need to seed the random number generator with a fixed value. JavaScript's built-in Math.random() doesn't support seeding, but libraries like seedrandom do. Our converter uses unseeded randomness, so every conversion produces a fresh result.

Distribution and uniformity

For long inputs, roughly half the letters end up uppercase and half lowercase. Short inputs might have visible skew — three letters could come out "ABC" or "abc" by chance. The randomness is per-character; there's no balancing logic that ensures an even ratio in the output.

Worked examples

Input RaNdOm CaSe
hello world hElLo WOrlD
this is random ThiS iS rANDom

Related case formats

Need more conversion options?

Open the full converter →