随机大小写
在浏览器中按独立随机选择改变文本大小写;可设置0—100%的大写概率,并选择全部具有不同默认大小写映射的Unicode码点或仅ASCII字母。随机概率使用Web Crypto拒绝采样;空白、标点、emoji、换行和无大小写字符保持原位,结果可复制或下载TXT。
使用步骤
如何使用
- Enter up to 100,000 characters and choose Unicode caseable characters or ASCII letters only.
- Set the probability that each eligible input code point becomes uppercase.
- Generate a variation, review the exact case mappings, then copy it or download a text file.
Independent choices from browser cryptography
For probabilities from 1% through 99%, the tool uses crypto.getRandomValues and rejection sampling over 0–99, avoiding modulo bias. A 0% setting always selects lowercase and 100% always selects uppercase. Repeating the same input normally produces a different variation; the result is not seeded or reproducible.
ASCII and Unicode scopes are explicit
ASCII mode changes only A–Z and a–z. Unicode mode walks input by Unicode code point and changes a code point when its default lowercase and uppercase mappings differ. It does not apply language-specific locale rules. Some Unicode mappings expand one input code point into several output code points, such as the uppercase form of ß, so output length can change. Whitespace, punctuation, emoji, and uncased characters remain unchanged.
常见问题
你可能还想知道
Does randomizing case change spaces or punctuation?
No. Only eligible caseable characters are mapped; all other input text remains in place.
Why can the output be longer than the input?
Unicode default case conversion can expand a character into more than one code point. Choose ASCII-only scope when every changed character must remain one character long.
Is this suitable for passwords or encryption?
No. It uses browser cryptography only to choose letter case. The output preserves the source text and is not a secret, password, cipher, or hash.