It was unintentional / I didn't mean to
Used to clarify that something was accidental. Often follows an apology to explain there was no bad intention.
I'm sorry, it was unintentional.
—You stepped on me! —Sorry, I didn't mean to.
It was unintentional, I swear.