An all-optical sensor platform was developed for hydrocarbon gas composition anal. enabling speciation and quantification of the individual hydrocarbon components in multi-component matrixes of alkanes, alkynes, alkenes and/or alcs.It performs such speciation without requiring phys. separation of the compounds as performed in chromatog.The flow-through optical sensor provides unattended, real-time and consumable-free anal. suitable for online fuel gas anal., combustion control, pipeline gas quality monitoring, BTU/heating value measurement and various hydrocarbon processing applications.The system consists of a light spectrometer, a flow-through sample cell, a single-element photo-detector and electronics.The spectrometer uses a unique tunable Fabry-Perot assembly that provides wavelength scanning with high Etendue.An advanced spectral processing and chemometric algorithm provides highly accurate and robust speciation performance compensating for various spectral nonlinearities due to pressure, flow and temperature variations.Challenges due to inherent spectral overlaps and nonlinearities will be presented, including methods of calibration and verification demonstrating the system performance in resolving interfering hydrocarbon spectra.Various test results using standard mixtures consisting of methane, ethane, propane, n-butane, iso-butane, propylene and ethylene compounds, as well as natural gas samples will be presented.