Short for f***ed up beyond all repair, FUBAR is slang that describes a situation as impossibly dysfunctional or hopeless. It has its origin in wartime, when soldiers frequently described their situation using the term. Today, it is also sometimes used in chat rooms and text messages to describe something that is unorganized or damaged, with no hope for repair.
FUBAR is also short for fouled up beyond all repair or fouled up beyond all recognition. When referring to hardware or software, it may be spelled as foobar or foo.bar when saved as a file.