Crane flies are large (1 inch long), light-colored, and have long legs. They often fly in swarms and are most easily identified by their large size and their long legs.
The best way to get rid of crane flies is to eliminate their food sources by thoroughly cleaning your kitchen and bathroom. You can also use commercial fly traps or bait. If you have a severe infestation, you may need to call a professional exterminator.