Skip to content

المولدات

مُولِّد ULID و NanoID

Sortable ULIDs and tiny NanoIDs — generated client-side.

Runs in your browser

Sortable, timestamp-prefixed identifiers.

GenerateULIDs

    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.

    يبحث الأشخاص أيضًا عن

    أدوات ذات صلة

    More in this room.

    شاهد الكل في المولدات