생성기
ULID 및 NanoID 생성기
Sortable ULIDs and tiny NanoIDs — generated client-side.
Sortable, timestamp-prefixed identifiers.
ULIDs sort lexicographically by creation time — handy for time-ordered keys.
편집자 노트
Understanding · UUIDs, but for the database we actually use.
이 심층 챕터는 현재 영어로만 제공됩니다. 위의 변환 도구는 귀하의 언어로 작동하지만, 긴 설명 글은 아직 번역되지 않았습니다.
자주 묻는 질문
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.
사람들이 다음도 검색합니다.
관련 도구