# Password Text Fields

**URL:** <https://discuss.streamlit.io/t/password-text-fields/394>\
**Category:** Using Streamlit\
**Tags:** text-input\
**Created:** [October 11, 2019, 3:49pm UTC](https://discuss.streamlit.io/t/password-text-fields/394 "2019-10-11T15:49:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shelbydavis](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/shelbydavis/32/376_2.png) [@shelbydavis](https://discuss.streamlit.io/u/shelbydavis)\
**Post date:** [October 11, 2019, 3:49pm UTC](https://discuss.streamlit.io/t/password-text-fields/394/1 "2019-10-11T15:49:38Z")

</div>

I’m creating a Streamlit app to interact with a cloud based ML platform, and I was wondering if there was a way to provide a password field where input text was replaced with asterixes (or 💀 for extra goodness.)

---

<div class="post-metadata">

**Author:** ![tim](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/tim/32/101_2.png) [@tim](https://discuss.streamlit.io/u/tim)\
**Post date:** [October 15, 2019, 5:40pm UTC](https://discuss.streamlit.io/t/password-text-fields/394/2 "2019-10-15T17:40:57Z")

</div>

Hey @shelbydavis - this isn’t currently possible, but I’ve opened an issue [here](https://github.com/streamlit/streamlit/issues/420) so we can track this as a feature request!

(Feel free to submit additional feature requests or bugs [directly to our Github repo](https://github.com/streamlit/streamlit/issues); you can also follow issues you’re interested in to get notified when they’re update.)

---

<div class="post-metadata">

**Author:** ![tim](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/tim/32/101_2.png) [@tim](https://discuss.streamlit.io/u/tim)\
**Post date:** [July 29, 2020, 7:59pm UTC](https://discuss.streamlit.io/t/password-text-fields/394/3 "2020-07-29T19:59:50Z")

</div>

Just a necroing this thread in case anyone else comes across it: we shipped password text input support earlier this year. This is now possible:

```auto
password = st.text_input("Enter a password", type="password")

```

---

<div class="post-metadata">

**Author:** ![randyzwitch](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/randyzwitch/32/58772_2.png) [@randyzwitch](https://discuss.streamlit.io/u/randyzwitch)\
**Post date:** [January 12, 2022, 9:40pm UTC](https://discuss.streamlit.io/t/password-text-fields/394/4 "2022-01-12T21:40:32Z")

</div>


