Geradores
Gerador ULID e NanoID
Sortable ULIDs and tiny NanoIDs — generated client-side.
Sortable, timestamp-prefixed identifiers.
ULIDs sort lexicographically by creation time — handy for time-ordered keys.
Nota do editor
Understanding · UUIDs, but for the database we actually use.
Este capítulo aprofundado está disponível apenas em inglês no momento. A ferramenta de conversão acima funciona no seu idioma; o artigo explicativo longo ainda não foi traduzido.
Perguntas frequentes
Quick answers.
›What is the difference between ULID and NanoID?
ULIDs include a timestamp for chronological sorting, whereas NanoIDs are purely random. ULID has a fixed format, while NanoID allows for custom lengths and character sets.
›Are these identifiers safe to use for database keys?
Yes. ULIDs are particularly useful as primary keys because their chronological ordering helps maintain database index performance. NanoIDs are safe for public URLs where brevity is preferred.
›Is any data sent to your servers?
No. Generation occurs entirely within your browser using the `crypto.getRandomValues` API. No identifier generated here is ever transmitted or logged.
›Can I customise the NanoID output?
Yes. You can adjust the length and the alphabet to remove ambiguous characters like `1`, `l`, `0`, or `O` depending on your requirements.
As pessoas também pesquisam por
Ferramentas relacionadas
More in this room.
- Gerador de UUIDGere UUIDs v4 em massa — criptograficamente seguros.
- Gerador de SlugTransforme qualquer texto num slug amigável para URL.
- Gerador de Lorem IpsumGere texto de preenchimento — parágrafos, frases ou palavras.
- Gerador de Palavras-PassePalavras-passe aleatórias criptograficamente seguras.
- Verificador de Força de Palavras-PasseEstime a entropia e obtenha dicas, localmente.
- Gerador de Código QRGere códigos QR personalizáveis — instantaneamente.