by accident

初級 (A2) neutral

Not on purpose, by mistake.

"I deleted the file by accident."