Heterogeneous nuclear ribonucleoprotein K is a protein that in humans is encoded by the HNRNPK gene. It is found in the cell nucleus that binds to pre-messenger RNA (mRNA) as a component of heterogeneous ribonucleoprotein particles. The simian homolog is known as protein H16. Both proteins bind to single-stranded DNA as well as to RNA and can stimulate the activity of RNA polymerase II, the protein responsible for most gene transcription. The relative affinities of the proteins for DNA and RNA vary with solution conditions and are inversely correlated, so that conditions promoting strong DNA binding result in weak RNA binding.