We present the design and analysis of a wideband and tunable optical Hilbert transformer (OHT) using a tunable waveguide-based finite-impulse response (FIR) filter structure by using the digital filter design method and the Remez algorithm. The tunable Nth-order waveguide-based FIR filter, which simply consists of N delay lines, N tunable couplers, N tunable phase shifters and a combiner, can be tuned, by thermally adjusting the tunable couplers and tunable phase shifters, to tune the bandwidth of an OHT using silica-based planar lightwave circuit (PLC) technology. To demonstrate the effectiveness of the method, the simulation results have an excellent agreement with the theoretical predictions. The tunable OHT can function as a wideband and tunable 90° phase shifter and thus has many potential applications. The two unique features of wideband characteristic (up to ~ 2 THz) and tunable bandwidth (THz tuning range) of the proposed OHT cannot be obtained from the existing OHTs.