RobinHerbots/Inputmask

Input Mask plugin

JavaScript

6,459

3,293 commits

updated Oct 9, 2026

See the code

README

Inputmask

Copyright (c) 2010 - 2026 Robin Herbots Licensed under the MIT license (https://opensource.org/licenses/MIT)

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

npm npm (tag) Libraries.io dependency status for latest release

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, ...

Documentation and demo page

https://robinherbots.github.io/Inputmask/

Thanks to Browserstack for providing a free license, so we can automate testing in different browsers and devices.

Browserstack
inputmask
jqlite
jquery-plugin
maskedinput
vanilla-javascript

RobinHerbots/Inputmask

Input Mask plugin

JavaScript

6,459

3,293 commits

updated Oct 9, 2026

See the code

README

Inputmask

Copyright (c) 2010 - 2026 Robin Herbots Licensed under the MIT license (https://opensource.org/licenses/MIT)

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

npm npm (tag) Libraries.io dependency status for latest release

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, ...

Documentation and demo page

https://robinherbots.github.io/Inputmask/

Thanks to Browserstack for providing a free license, so we can automate testing in different browsers and devices.

Browserstack
inputmask
jqlite
jquery-plugin
maskedinput
vanilla-javascript

Project health

Overall

3.6/10

Maintained

10/10

Code review

1/10
OpenSSF Scorecard

Latest release

5.0.10 · Jul 31, 2026

Releases this year

1

Significant stargazers

Peter Zhu

255 followers · starred Mar 2019

Brian J. Cardiff

265 followers · starred Nov 2017

Sergey M.

125 followers · starred May 2017

Deadpikle

70 followers · starred Dec 2020