What is the correct spelling, dammit or damnit? And what is the difference?
Just writing this question brings up a red squiggly underneath damnit and the suggestions include dammit and damn it.
This question is too basic; it can be definitively and permanently answered by a single link to a standard internet reference source designed specifically to find that type of information. See the FAQ for guidance on how to improve it.
The usage stats from the British National Corpus (BNC) look as follows:
And here are the stats from the Corpus of Contemporary American English (COCA):
The Corpus of Historical American English (COHA) paints the following picture:
(X axis: year, Y axis: incidences per million words)
Damnit could be used, though you're better off with "dammit" or "damn it". As per Wiktionary:
Edit: To any downvoter(s), please let me know how to improve my answer. At a -1 rating, I'd like my answer to at least be neutral if it's not seen as a contribution. As my answer points out, "damnit" is considered a misspelling of the more popular "dammit", which confirms ЯegDwight♦'s data. Thank you.