Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributehashids2

Generate short, unique, decryptable YouTube-like hashes from numbers.

pub.devRemove
sqids

Generate short YouTube-looking IDs from numbers and decode them back.

pub.devRemove
ScoresHealth5062 (best)
Maintenance062 (best)
Quality91 (best)81
Popularity49 (best)17
Community5258 (best)
Compatibility100100
UsageDownloads (30 days)9.1k (best)1.9k
Likes29 (best)7
Pub points140 / 160150 / 160 (best)
GitHub stars27 (best)18
MaintenanceLatest release2.0.0, 6 years ago0.0.3, 3 months ago (best)
Major versions in 12 months00
Contributors34 (best)
Publisherleushchenko.comjodeveloper8.me
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies00
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • No external dependencies
  • Supports multiple platforms including Android, iOS, web, and desktop
  • Allows encoding multiple integers at once
  • Fast encoding and decoding performance
  • URL safe with auto-generated prevention of common profanity
  • Supports custom alphabets and blocklists
Weaknesses
  • Only supports integers greater than or equal to zero
  • Not intended for cryptographic security
  • Multiple IDs can decode back into the same sequence of numbers, meaning they are not strictly canonical without manual checks
  • Not suitable for cryptography or sensitive data protection
WarningsNoneNone
hashids2 vs sqids: which Flutter package should you use? | pubscout