To understand non-trivial biological functions, it is crucial to develop minimal synthetic models that capture their basic features. Here, we demonstrate a sequence-independent, reversible control of transcription and gene expression using a photosensitive nucleic acid binder (pNAB). By introducing a pNAB whose affinity for nucleic acids is tuned by light, in vitro RNA production, EGFP translation, and GFP expression (a set of reactions including both transcription and translation) were successfully inhibited in the dark and recovered after a short illumination at 365 nm. Our results indicate that the accessibility of the protein machinery to one or several nucleic acid binding sites can be efficiently regulated by changing the conformational/condensation state of the nucleic acid (DNA conformation or mRNA aggregation), thus regulating gene activity in an efficient, reversible, and sequence-independent manner. The possibility offered by our approach to use light to trigger various gene expression systems in a system-independent way opens interesting perspectives to study gene expression dynamics as well as to develop photocontrolled biotechnological procedures.