We describe the APERture Tile In Focus (Apertif) system, a phased array feed (PAF) upgrade of the Westerbork Synthesis Radio Telescope that transforms this telescope into a high-sensitivity, wide-field-of-view L-band imaging and transient survey instrument. Using novel PAF technology, up to 40 partially overlapping beams are formed on the sky simultaneously, significantly increasing the survey speed of the telescope. With this upgraded instrument, an imaging survey covering an area of 2300 deg 2 is being performed that will deliver both continuum and spectral line datasets, of which the first data have been publicly released. In addition, a time domain transient and pulsar survey covering 15 000 deg 2 is in progress. An overview of the Apertif science drivers, hardware, and software of the upgraded telescope is presented, along with its key performance characteristics.