Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeconvertlib

Fast and error-resilient pure-Dart codecs for binary, octal, hex, base32, base64, UTF-8, and PHC strings.

pub.devRemove
validators2

String validation and sanitization for Dart.

pub.devRemove
ScoresHealth6583 (best)
Maintenance5188 (best)
Quality100 (best)96
Popularity4050 (best)
Community4680 (best)
Compatibility100100
UsageDownloads (30 days)44k78k (best)
Likes59 (best)
Pub points160 / 160 (best)150 / 160
GitHub stars3 (best)0
MaintenanceLatest release3.6.1, 4 months ago5.1.1, 3 weeks ago (best)
Major versions in 12 months00
Contributors29 (best)
Publisherbitanon.devonepub.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies00
LicenseBSD-3-CLAUSEMIT
Setup effortLowLow
JudgementStrengths
  • Zero runtime dependencies and runs on every platform (VM, Flutter, Web).
  • Comprehensive alphabet variants (RFC 4648, crockford, geohash, z-base-32, URL-safe, etc.).
  • Includes non-throwing decoders and constant-time byte comparison.
  • No external dependencies, pure Dart.
  • Up-to-date regexes and edge‑case handling (e.g., email backtracking fix).
  • Supports Dart 3.x and null safety.
Weaknesses
  • Scope is strictly limited to encoding, decoding, and parsing specific text formats.
  • Does not handle high-level cryptographic primitives on its own (relies on partner libraries like hashlib).
  • Limited to string validation; no UI components.
  • No built‑in error message localization.
  • Not a form builder, just helper functions.
WarningsNoneNone
convertlib vs validators2: which Flutter package should you use? | pubscout