Integration of functional materials and structures on the tips of optical fibers has enabled various applications in micro-optics, such as sensing, imaging, and optical trapping. Direct laser writing is a 3D printing technology that holds promise for fabricating advanced micro-optical structures on fiber tips. To date, material selection has been limited to organic polymer-based photoresists because existing methods for 3D direct laser writing of inorganic materials involve high-temperature processing that is not compatible with optical fibers. However, organic polymers do not feature stability and transparency comparable to those of inorganic glasses. Herein, we demonstrate 3D direct laser writing of inorganic glass with a subwavelength resolution on optical fiber tips. We show two distinct printing modes that enable the printing of solid silica glass structures ("Uniform Mode") and self-organized subwavelength gratings ("Nanograting Mode"), respectively. We illustrate the utility of our approach by printing two functional devices: (1) a refractive index sensor that can measure the indices of binary mixtures of acetone and methanol at near-infrared wavelengths and (2) a compact polarization beam splitter for polarization control and beam steering in an all-in-fiber system. By combining the superior material properties of glass with the plug-and-play nature of optical fibers, this approach enables promising applications in fields such as fiber sensing, optical microelectromechanical systems (MEMS), and quantum photonics.