A programmable fiber long period grating (LPG) is experimentally demonstrated in a liquid core optical fiber with a low insertion loss. The LPG is dynamically formed by a temperature gradient in real-time through a micro-heater array. The transmission spectrum of the LPG can be completely reconfigured by digitally changing the grating period, index contrast, length and design. The phase-shift inside the LPG can also be readily defined to enable advanced spectrum shaping. Owing to the high thermo-optic coefficient of the liquid core, it is possible to achieve high coupling efficiencies with driving powers as low as a few tens of milliwatts. The proposed thermo-programmable device provides a potential design solution for dynamic all-fiber optics components. © Reconfigurable optical devices that can respond dynamically to variable demands are required for the development of efficient and flexible all-fiber systems. Although silica fibers are an excellent platform for low loss waveguiding, they are somewhat limited in terms of their functionality owing to their low linear, nonlinear and thermal optical coefficients, for example. Therefore, in order to introduce some reconfigurable behavior into these fibers they are often infiltrated with materials that have tunable optical properties such as polymers [1], liquids [2], liquid crystals [3] and gases [4]. Of these hybrid-material structures liquid-filled optical fibers have been the most widely investigated owing to the relative ease of fabrication, but also because there is a long list of liquids that offer many useful properties for photonics applications including low loss, broadband transmission windows [5]. As a result, there have been a number of important device demonstrations in liquid-filled fibers in areas ranging from supercontinuum generation [6] to sensing [7,8] and lasing [9].A popular approach to introduce dynamic tunability into these hybrid fibers is to use a liquid with high thermo-optic coefficient (TOC) [10], so that the device properties can be altered with relatively minor temperature changes. Thus the energy requirements for temperature tuning are typically much lower than alternative methods, such as electro-optic modification where high driving voltages are usually required [11,12]. However, as of to date, temperature tuning of the liquid-filled fibers has been limited to adjusting the operation wavelength and not the device function [2,7,8]. Clearly the ability to introduce localized temperature gradients along the length of the liquid core that would allow for reconfiguration of the device function would greatly expand the application potential of these fibers.In this Letter, we present a new type of completely programmable liquid core optical fiber (LCOF) device where the optical functionality is imprinted onto the core using a microheater array (MHA). To demonstrate proof of concept, we use localized temperature-induced index changes to write a series of long period gratings (LPGs) into the LCOF. LPGs are of great interest for the develo...