We demonstrate a planar superconducting microwave resonator intended for use in applications requiring strong magnetic fields and high quality factors. In perpendicular magnetic fields of 20 mT, the niobium resonators maintain a quality factor above 25 000 over a wide range of applied powers, down to single photon population. In parallel field, the same quality factor is observed above 160 mT, the field required for coupling to free spins at a typical operating frequency of 5 GHz. We attribute the increased performance to the current branching in the fractal design. We demonstrate that our device can be used for spectroscopy by measuring the dissipation from a pico-mole of molecular spins. V C 2012 American Institute of Physics. [http://dx