Overview
A lightweight Dart library designed to simplify the formatting, manipulation, and validation of Chilean RUT (Rol Único Tributario) numbers. It provides utilities to check RUT validity, format RUTs with proper dashes, and handle common operations like extracting the verification digit. Ideal for applications requiring accurate Chilean tax identification number processing. The package is easy to integrate via Flutter's pub system and is maintained on GitHub for transparency and community contributions.
Use cases
- Validating user-provided RUTs in forms
- Formatting RUTs for display with correct dash placement
- Automatically checking RUT checksums
- Integrating RUT handling into financial or government apps
- Processing RUT data in Chilean-specific workflows
Key features
- RUT validation with checksum verification
- Automatic formatting with hyphen insertion
- Support for both standard and raw RUT input
- Lightweight and dependency-free
- Open-source and actively maintained
Suitable for
- Flutter apps targeting Chilean users
- Form inputs requiring RUT validation
- Backend services processing Chilean tax IDs
- Applications needing simple RUT manipulation
Considerations
- Only supports Chilean RUT format
- Does not validate RUT against official databases
- No support for international RUT formats