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

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

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

Document Tags and Contributors

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