Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Failed to load latest commit information.
Latest commit message
Commit time
June 1, 2021 15:05
June 6, 2023 17:01
June 6, 2023 17:01
March 20, 2020 17:55
June 1, 2021 15:00
May 5, 2023 22:03
January 5, 2018 22:12
March 14, 2023 21:38
June 6, 2023 17:01
December 22, 2022 22:45
June 6, 2023 17:01
March 15, 2023 16:26
June 6, 2023 17:01


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.


npm npm (tag) 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, ...

Thanks to Jetbrains for providing a free license for their excellent Webstorm IDE.

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

Jetbrains Browserstack

Documentation and demo page