We prove a Lojasiewicz-Simon gradient inequality for the Willmore functional near Willmore surfaces, and we apply this to exclude compact blowups for the Willmore flow.