This is a gallery of flags of the branches of the armed forces of various countries.
See Roundel for a gallery of air force roundels.
Army or other ground forces flags
Navy flags and ensigns
See Maritime Flags for a gallery of naval jacks
Former armed forces flags
More broadly, any flag used by armed forces
to represent themselves or the nation they serve can be considered a war or military flag.