PHPackages                             robinherbots/jquery.inputmask - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. robinherbots/jquery.inputmask

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

robinherbots/jquery.inputmask
=============================

Inputmask is a javascript library which creates an input mask. Inputmask can run against vanilla javascript, jQuery and jqlite.

5.0.9(2y ago)6.5k282.1k↓41.3%2.1k[647 issues](https://github.com/RobinHerbots/Inputmask/issues)[8 PRs](https://github.com/RobinHerbots/Inputmask/pulls)4MITJavaScript

Since Jan 28Pushed 1mo ago178 watchersCompare

[ Source](https://github.com/RobinHerbots/Inputmask)[ Packagist](https://packagist.org/packages/robinherbots/jquery.inputmask)[ Docs](http://robinherbots.github.io/Inputmask)[ Fund](https://PayPal.Me/robinherbots)[ RSS](/packages/robinherbots-jqueryinputmask/feed)WikiDiscussions 5.x Synced 1w ago

READMEChangelogDependenciesVersions (227)Used By (4)

Inputmask
=========

[](#inputmask)

Copyright (c) 2010 - 2023 Robin Herbots Licensed under the MIT license ()

The Inputmask has a very permissive license and this will stay that way. But when you use the Inputmask in a commercial setting, be so honest to make a small donation. This will be appreciated very much.

[![donate](https://camo.githubusercontent.com/7b6de155df30b37b25eb5fec52f9213680c3dbf067dfb7d7e2850ac4096c7d05/68747470733a2f2f7777772e70617970616c6f626a656374732e636f6d2f656e5f55532f692f62746e2f62746e5f646f6e6174655f534d2e676966)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZNR3EB6JTMMSS)

[![npm](https://camo.githubusercontent.com/e65b26d422fc532eb14bffb10b6b7aebea27462d8c3a204fe201083af7a9a096/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f696e7075746d61736b)](https://camo.githubusercontent.com/e65b26d422fc532eb14bffb10b6b7aebea27462d8c3a204fe201083af7a9a096/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f696e7075746d61736b) [![npm (tag)](https://camo.githubusercontent.com/f731971ab6cc982f760b1528801db7b8e1c9ca1284967f7d848a88ed313b32f0/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f696e7075746d61736b2f6e657874)](https://camo.githubusercontent.com/f731971ab6cc982f760b1528801db7b8e1c9ca1284967f7d848a88ed313b32f0/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f696e7075746d61736b2f6e657874) [![Libraries.io dependency status for latest release](https://camo.githubusercontent.com/54ce513a27116c3402fff30f6d4b2c9d7b6c6a7253c42565665cafb36a392a1a/68747470733a2f2f696d672e736869656c64732e696f2f6c6962726172696573696f2f72656c656173652f6e706d2f696e7075746d61736b)](https://camo.githubusercontent.com/54ce513a27116c3402fff30f6d4b2c9d7b6c6a7253c42565665cafb36a392a1a/68747470733a2f2f696d672e736869656c64732e696f2f6c6962726172696573696f2f72656c656173652f6e706d2f696e7075746d61736b)

Inputmask is a javascript library that creates an input mask. Inputmask can run against vanilla javascript, jQuery, and jqlite.

An inputmask helps the user with the input by ensuring a predefined format. This can be useful for dates, numerics, phone numbers, ...

Thanks to [Browserstack](https://www.browserstack.com) for providing a free license, so we can automate testing in different browsers and devices.

[ ![Browserstack](https://camo.githubusercontent.com/87128fcd01e25ea0678fc297eab5465c5be452a99cf6baf59231a13b77f967e3/68747470733a2f2f7777772e62726f77736572737461636b2e636f6d2f696d616765732f6c61796f75742f62726f77736572737461636b2d6c6f676f2d363030783331352e706e67)](https://www.browserstack.com)Documentation and demo page
---------------------------

[](#documentation-and-demo-page)

###  Health Score

67

—

FairBetter than 99% of packages

Maintenance58

Moderate activity, may be stable

Popularity68

Solid adoption and visibility

Community47

Growing community involvement

Maturity83

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 89.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~18 days

Recently: every ~44 days

Total

224

Last Release

48d ago

Major Versions

4.0.5 → 5.0.0-beta.912018-12-28

4.0.6 → 5.0.0-beta.1022019-01-30

4.0.7 → 5.0.0-beta.1522019-05-14

4.0.9 → 5.0.0-beta.2802019-10-08

4.x-dev → 5.0.2-beta.72020-01-09

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/318447?v=4)[Robin Herbots](/maintainers/RobinHerbots)[@RobinHerbots](https://github.com/RobinHerbots)

---

Top Contributors

[![RobinHerbots](https://avatars.githubusercontent.com/u/318447?v=4)](https://github.com/RobinHerbots "RobinHerbots (2835 commits)")[![rherbots](https://avatars.githubusercontent.com/u/278969482?v=4)](https://github.com/rherbots "rherbots (222 commits)")[![Copilot](https://avatars.githubusercontent.com/in/1143301?v=4)](https://github.com/Copilot "Copilot (18 commits)")[![rosshadden](https://avatars.githubusercontent.com/u/669012?v=4)](https://github.com/rosshadden "rosshadden (12 commits)")[![vsn4ik](https://avatars.githubusercontent.com/u/3757319?v=4)](https://github.com/vsn4ik "vsn4ik (6 commits)")[![SteveDavis-82](https://avatars.githubusercontent.com/u/60626689?v=4)](https://github.com/SteveDavis-82 "SteveDavis-82 (6 commits)")[![kgeis](https://avatars.githubusercontent.com/u/2237299?v=4)](https://github.com/kgeis "kgeis (5 commits)")[![adlerdias](https://avatars.githubusercontent.com/u/307859?v=4)](https://github.com/adlerdias "adlerdias (5 commits)")[![SimenB](https://avatars.githubusercontent.com/u/1404810?v=4)](https://github.com/SimenB "SimenB (4 commits)")[![zeskysee](https://avatars.githubusercontent.com/u/6244226?v=4)](https://github.com/zeskysee "zeskysee (3 commits)")[![grimalschi](https://avatars.githubusercontent.com/u/9027592?v=4)](https://github.com/grimalschi "grimalschi (3 commits)")[![Rouche](https://avatars.githubusercontent.com/u/1267438?v=4)](https://github.com/Rouche "Rouche (3 commits)")[![fquiroz01](https://avatars.githubusercontent.com/u/9734881?v=4)](https://github.com/fquiroz01 "fquiroz01 (2 commits)")[![aiscorp](https://avatars.githubusercontent.com/u/43959850?v=4)](https://github.com/aiscorp "aiscorp (2 commits)")[![andr-04](https://avatars.githubusercontent.com/u/2203770?v=4)](https://github.com/andr-04 "andr-04 (2 commits)")[![alexandrbig](https://avatars.githubusercontent.com/u/2073337?v=4)](https://github.com/alexandrbig "alexandrbig (2 commits)")[![thorn0](https://avatars.githubusercontent.com/u/94334?v=4)](https://github.com/thorn0 "thorn0 (2 commits)")[![VladimirKuzmin](https://avatars.githubusercontent.com/u/2759192?v=4)](https://github.com/VladimirKuzmin "VladimirKuzmin (2 commits)")[![ajacome](https://avatars.githubusercontent.com/u/7635259?v=4)](https://github.com/ajacome "ajacome (2 commits)")[![whooehoo](https://avatars.githubusercontent.com/u/11571567?v=4)](https://github.com/whooehoo "whooehoo (2 commits)")

---

Tags

inputmaskjqlitejquery-pluginmaskedinputvanilla-javascriptjquerypluginsforminputmaskinputmask

### Embed Badge

![Health badge](/badges/robinherbots-jqueryinputmask/health.svg)

```
[![Health](https://phpackages.com/badges/robinherbots-jqueryinputmask/health.svg)](https://phpackages.com/packages/robinherbots-jqueryinputmask)
```

###  Alternatives

[snapappointments/bootstrap-select

The jQuery plugin that brings select elements into the 21st century with intuitive multiselection, searching, and much more. Now with Bootstrap 4 support.

9.8k494.8k3](/packages/snapappointments-bootstrap-select)[kartik-v/yii2-widget-rating

A Yii2 widget for the simple yet powerful bootstrap-star-rating plugin with fractional rating support (sub repo split from yii2-widgets)

474.3M8](/packages/kartik-v-yii2-widget-rating)[kartik-v/yii2-widget-switchinput

A Yii2 wrapper widget for the Bootstrap Switch plugin to use checkboxes &amp; radios as toggle switchinputes (sub repo split from yii2-widgets)

404.6M13](/packages/kartik-v-yii2-widget-switchinput)[kartik-v/yii2-widget-colorinput

An enhanced Yii 2 widget encapsulating the HTML 5 color input (sub repo split from yii2-widgets)

345.0M10](/packages/kartik-v-yii2-widget-colorinput)[kartik-v/yii2-widget-rangeinput

An enhanced Yii 2 widget encapsulating the HTML 5 range input (sub repo split from yii2-widgets)

214.0M3](/packages/kartik-v-yii2-widget-rangeinput)[kartik-v/yii2-widget-touchspin

A Yii2 wrapper widget for the Bootstrap Switch plugin to use checkboxes &amp; radios as toggle touchspines (sub repo split from yii2-widgets)

194.2M6](/packages/kartik-v-yii2-widget-touchspin)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
