Nano ID – Unique String ID Generator for JavaScript

NEW  Video tutorials for jQuery and Javascript are now on Videos page.

Nano ID is a tiny, secure URL-friendly unique string ID generator for JavaScript.

Features

  • Safe: It uses cryptographically strong random APIs and guarantees a proper distribution of symbols.
  • Small. Only 258 bytes (minified and gzipped). No dependencies.
  • Compact: It uses more symbols than UUID (A-Za-z0-9_~) and has the same number of unique options in just 22 symbols instead of 36.