跳到正文
RandNext
Esc

随机字母生成器

为文字游戏、课堂活动或起名随机选一个字母。可以只要一个字母、一串字母、只要元音或辅音,或者打乱整个字母表。

  • A 到 Z
  • 元音或辅音
  • 打乱字母表

随机字母 API

以 JSON 获取随机字母结果。接口只读,少量使用无需 API 密钥,并支持跨域请求。

GET/api/v1/tools/random-letter
curl https://randnext.com/api/v1/tools/random-letter?set=consonants&count=5&repeats=false

参数

参数类型作用(英文)默认值 / 允许的值
countintegerNumber of letters to return.默认:11 到 100
setstringChoose from the full alphabet, vowels only, or consonants only.默认:allall, vowels, consonants
repeatsbooleanAllow the same letter to appear more than once.默认:truetrue 或 false
lowercasebooleanReturn lowercase letters instead of uppercase letters.默认:falsetrue 或 false
查看参数、响应和限制 →

你可能还喜欢

使用方法

  1. 1选择字母数量和范围。
  2. 2点“生成”。
  3. 3复制结果。

常见问题

可以避免字母重复吗?

可以——关闭“允许重复”。这样最多可以抽出所选范围内的全部字母。

用的是哪种字母表?

26 个字母的英文字母表。