🔍

首页Home › 文本工具Text Tools

🎲 随机 Unicode 生成Generate Random Unicode

在码位范围内均匀生成随机字符(自动跳过代理码位,可设种子)。本地处理。可设置「数量」、「起始码位」、「结束码位」、「种子(可空)」。Generate random characters uniformly from a code-point range (surrogates skipped, optional seed). Processed locally. Settings: Count, From, To, Seed (optional).

使用说明与常见问题How-to & FAQ

「随机 Unicode 生成」是什么?What is the Generate Random Unicode tool?

在码位范围内均匀生成随机字符(自动跳过代理码位,可设种子)。本地处理。可设置「数量」、「起始码位」、「结束码位」、「种子(可空)」。Generate random characters uniformly from a code-point range (surrogates skipped, optional seed). Processed locally. Settings: Count, From, To, Seed (optional).

如何使用「随机 Unicode 生成」?How do I use the Generate Random Unicode tool?

在「随机 Unicode 生成」中,把内容粘贴或输入到上方输入框,按需设置「数量」、「起始码位」、「结束码位」、「种子(可空)」,结果会实时显示在下方,点击「复制结果」即可复制。In the Generate Random Unicode: Paste or type into the input box, adjust "Count", "From", "To", "Seed (optional)"; the result appears below instantly — click "Copy result" to copy it.

代理码位怎么处理?What happens to surrogate code points?

U+D800–DFFF 不是字符,会先从可选范围里去掉,再在剩下的码位中均匀抽取;如果范围里只有代理码位,会立即提示无法生成,不会卡住页面。U+D800–DFFF are not characters, so they are removed from the pool first and the remaining code points are drawn uniformly. If the range holds only surrogates you get a message straight away and the page never hangs.

怎样得到相同的结果?How do I get the same result again?

填写相同的种子会得到相同的字符;种子留空则使用浏览器的安全随机数,每次不同。注意很多码位尚未分配或没有字体,可能显示为方框。The same seed always gives the same characters; leave it empty to use the browser's secure random numbers, which differ each time. Many code points are unassigned or have no font and may show as boxes.

输入和输出是什么样的?What does the input and output look like?

例如在「随机 Unicode 生成」中输入 x,「数量」设为 4,「起始码位」设为 U+41,「结束码位」设为 U+41,「种子(可空)」设为 1,输出为:AAAA。For example, the Generate Random Unicode turns the input x, "Count" set to 4, "From" set to U+41, "To" set to U+41, "Seed (optional)" set to 1 into: AAAA.

有哪些选项可以调整?What options can I adjust?

「随机 Unicode 生成」的设置:「数量」默认 8;「起始码位」默认 U+41;「结束码位」默认 U+7A;「种子(可空)」默认 1。每次生成结果都按当前设置处理。Settings in the Generate Random Unicode — "Count" default 8; "From" default U+41; "To" default U+7A; "Seed (optional)" default 1. The result always uses the current settings.

处理大段文本会卡吗?Can it handle long text?

「随机 Unicode 生成」在浏览器中直接处理,几 MB 以内的文本通常瞬间完成;文本不会离开你的设备。The Generate Random Unicode runs in your browser; text up to a few MB is usually processed instantly and never leaves your device.

「随机 Unicode 生成」免费吗?需要注册吗?Is the Generate Random Unicode free? Do I need an account?

「随机 Unicode 生成」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Generate Random Unicode is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.

相关工具Related tools

📋 生成码位范围表Generate Unicode Range🔤 生成 Unicode 字母表Generate Unicode Letters🔢 生成 Unicode 数字Generate Unicode Numbers🔗 连接 Unicode 片段Join Unicode⬅️ 左侧填充 UnicodeLeft Pad Unicode🔤 规范化 Unicode 字母Normalize Unicode Letters🔢 规范化 Unicode 数字Normalize Unicode Numbers🧹 移除组合附加符Remove Combining Characters🧽 移除 Zalgo 效果Remove Zalgo From Unicode🔁 重复 Unicode 文本Repeat Unicode↔️ 反转 Unicode 文本Reverse Unicode➡️ 右对齐 UnicodeRight Align Unicode

← 全部工具All tools