🎲 随机大小写转换(随机 / 交替大小写)Randomize ASCII Case
把英文字母随机转换成大写或小写,制造 “sPoNgEbOb” 式的混合大小写效果:可设置大写的概率和随机种子(相同种子得到相同结果),也可以按字母交替(aBcD)、按字符位置交替或按单词交替大小写。只改变字母,数字、标点和中文保持不变。适合做表情包文字、测试大小写不敏感的程序和生成示例数据,数据在本地处理。Randomly turn letters into upper or lower case for that mixed "sPoNgEbOb" look. Set the chance of upper case and a random seed (the same seed gives the same result), or alternate the case letter by letter (aBcD), by character position or word by word. Only letters change; digits, punctuation and Chinese stay as they are. Handy for meme text, testing case-insensitive programs and making sample data. Processed locally.
使用说明与常见问题How-to & FAQ
「随机大小写转换(随机 / 交替大小写)」是什么?What is the Randomize ASCII Case tool?
把英文字母随机转换成大写或小写,制造 “sPoNgEbOb” 式的混合大小写效果:可设置大写的概率和随机种子(相同种子得到相同结果),也可以按字母交替(aBcD)、按字符位置交替或按单词交替大小写。只改变字母,数字、标点和中文保持不变。适合做表情包文字、测试大小写不敏感的程序和生成示例数据,数据在本地处理。Randomly turn letters into upper or lower case for that mixed "sPoNgEbOb" look. Set the chance of upper case and a random seed (the same seed gives the same result), or alternate the case letter by letter (aBcD), by character position or word by word. Only letters change; digits, punctuation and Chinese stay as they are. Handy for meme text, testing case-insensitive programs and making sample data. Processed locally.
如何使用「随机大小写转换(随机 / 交替大小写)」?How do I use the Randomize ASCII Case tool?
在「随机大小写转换(随机 / 交替大小写)」中,把内容粘贴或输入到上方输入框,按需设置「方式」、「大写概率 %」、「随机种子(可选)」、「交替时第一个」,结果会实时显示在下方,点击「复制结果」即可复制。In the Randomize ASCII Case: Paste or type into the input box, adjust "Mode", "Upper-case chance %", "Seed (optional)", "Alternating starts with"; the result appears below instantly — click "Copy result" to copy it.
随机种子有什么用?What is the seed for?
不填种子时每次点击结果都不同;填写任意文字或数字作为种子后,相同的输入和种子总是得到相同的结果,方便复现测试数据或和别人分享同一个效果。Without a seed every run gives a different result. Enter any word or number as a seed and the same input and seed always give the same output, which is handy for reproducible test data or sharing exactly the same result.
交替的几种方式有什么区别?What's the difference between the alternating modes?
按字母交替只数字母,跳过空格和标点,所以 hello world 变成 hElLo WoRlD;按位置交替把空格和标点也算进位置;按单词交替让整个单词轮流全大写或全小写。可以选择第一个是大写还是小写。Alternate letters counts letters only, skipping spaces and punctuation, so hello world becomes hElLo WoRlD. Alternate by position counts spaces and punctuation as positions too. Alternate words makes whole words take turns being all upper or all lower case. You can choose whether the first one is upper or lower case.
中文和其他字符会改变吗?Are Chinese and other characters changed?
只有有大小写之分的字母会改变(包括 é、ñ 等带重音的字母和希腊、西里尔字母);中文、数字、标点和表情保持原样。像 ß 这样大写后会变成两个字母的字符也保持不变,以免改变文本长度。需要统一转换大小写请使用“大小写转换”。Only letters that have upper and lower case change, including accented letters such as é and ñ and Greek and Cyrillic letters. Chinese, digits, punctuation and emoji stay as they are. Characters like ß, which would become two letters in upper case, are also left alone so the text length doesn't change. To convert everything to one case, use the Case Converter.
处理大段文本会卡吗?Can it handle long text?
「随机大小写转换(随机 / 交替大小写)」在浏览器中直接处理,几 MB 以内的文本通常瞬间完成;文本不会离开你的设备。The Randomize ASCII Case runs in your browser; text up to a few MB is usually processed instantly and never leaves your device.
「随机大小写转换(随机 / 交替大小写)」免费吗?需要注册吗?Is the Randomize ASCII Case free? Do I need an account?
「随机大小写转换(随机 / 交替大小写)」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Randomize ASCII Case is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.