This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.


The ::-ms-reveal CSS pseudo-element is used to display and apply styles to the "password reveal button" usually displayed at the edge of an <input> element of type="password" in Internet Explorer 10+. The password reveal button displays the value of the password field in plain text (instead of the usual obscured-for-privacy all-asterisks display). This button and the pseudo-element are non-standard and specific to Internet Explorer 10+, hence the vendor prefix.


Not part of any specification.

Microsoft has a description on MSDN.

Browser compatibility

Feature Firefox (Gecko) Chrome Internet Explorer Opera Safari
Basic support Not supported Not supported (Yes) Not supported Not supported
Feature Firefox Mobile (Gecko) Android IE Phone Opera Mobile Safari Mobile
Basic support Not supported Not supported (Yes) Not supported Not supported

Document Tags and Contributors

 Contributors to this page: teoli, mrenty, Sebastianz, sraghav, cvrebert
 Last updated by: teoli,