We present a method to generate NOON states with three photons by injecting photons in an array of three waveguides. Conditional measurements project the wave function in a given (desired) state. In passing, we show how the array of three waveguides, that effectively reproduces the interaction of three fields, may be reduced to the interaction of two fields.