The phrase "did off the top of your head" refers to doing something without much prior thought or planning. Some common synonyms for this phrase include "spur-of-the-moment," "impromptu," "on a whim," "ad hoc," "off the cuff," "instant," and "unrehearsed." Other similar phrases that convey the same idea include "flying by the seat of your pants," "winging it," and "playing it by ear." All of these expressions suggest a sense of spontaneity and improvisation, which can be both exciting and nerve-wracking, depending on the situation. Whether it's a last-minute decision or simply a matter of personal preference, doing things off the top of your head can lead to some memorable experiences.