optionally vs unnecessarily

optionally

adv
  • In an optional manner. Not mandatorily. 

unnecessarily

adv
  • In an unnecessary way; not by necessity. 

  • To an extent beyond what is needed. 

How often have the words optionally and unnecessarily occurred in a corpus of books? (source: Google Ngram Viewer )