# RedMadRobot/input-mask-android

User input masking library repo.

Repository: https://github.com/RedMadRobot/input-mask-android
Canonical: https://ross.abutalabs.com/products/input-mask-android
Language: Kotlin
License: MIT
License Family: permissive
Topics: android, formatter, validator, pattern, template, text, kotlin
Last push: 2023-12-02T13:00:42+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3598, "days_push": 1005, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1218, forks 116 (observed 2026-08-28T04:04:01.607066+00:00)

## What it is
An Android library written in Kotlin that applies pattern-based masks to user input in text fields, guiding users to enter correctly formatted values. It supports phone numbers, dates, card numbers, IBANs, and number/currency formatting, with country guessing for international phones.

## Use cases
- format phone number input in an android app
- mask credit card number as user types
- validate and format date input fields
- format currency input in a text field
- apply IBAN formatting to user input
- extract digits from masked phone input
- guide users to enter serial numbers in a fixed pattern

## When to choose
- you need pattern-based input masking on Android text fields
- you want automatic country detection for international phone number formats
- you need currency or number formatting tied to user input
- you want a mature MIT-licensed Kotlin library with an iOS counterpart

## When to avoid
- you need input masking on platforms other than Android
- you need fully custom validation logic beyond pattern templates
- your project is not using Kotlin

## Facets
- artifact type: library
- maturity: stable
- function: formatter, ui-components, form-handling
- domain: mobile-development, android-tools, developer-tools
- platform: jvm
- tags: input-masking, text-formatting, phone-numbers, kotlin, android, form-input, mobile

## Member repositories
- RedMadRobot/input-mask-android (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:01.607066+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:17:02.125044+00:00, confidence not recorded.
  - readme: https://github.com/RedMadRobot/input-mask-android (fetched 2026-08-28T04:04:01.607066+00:00, sha f10bab6f200f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
