A facile approach has been developed to prepare a porous upconversion material, which converts near infrared to red light. As the red emission matches well with the absorption maximum of chlorophylls, NIR energy can be transferred to the biomolecules.