Matrix stiffness is critical for the progression of various types of cancers. In solid cancers such as mammary and pancreatic cancers, tumors often contain abnormally stiff tissues, mainly caused by stiff extracellular matrices due to accumulation, contraction, and crosslinking. Stiff extracellular matrices trigger mechanotransduction, the conversion of mechanical cues such as stiffness of the matrix to biochemical signaling in the cells, and as a result determine the cellular phenotypes of cancer and stromal cells in tumors. Transcription factors are key molecules for these processes, as they respond to matrix stiffness and are crucial for cellular behaviors. The Yes-associated protein (YAP)/transcriptional coactivator with PDZ-binding motif (TAZ) is one of the most studied transcription factors that is regulated by matrix stiffness. The YAP/TAZ are activated by a stiff matrix and promotes malignant phenotypes in cancer and stromal cells, including cancer-associated fibroblasts. In addition, other transcription factors such as β-catenin and nuclear factor kappa B (NF-κB) also play key roles in mechanotransduction in cancer tissues. In this review, the mechanisms of stiffening cancer tissues are introduced, and the transcription factors regulated by matrix stiffness in cancer and stromal cells and their roles in cancer progression are shown.