Note-taking app Evernote Corp. has been approached in the past about a potential acquisition but prefers not to sell itself, and is considering an initial public offering in the next few years, its chief executive said.

"We've been approached by lots of companies as an acquisition target and I would never rule anything out, " Phil Libin told The Wall Street Journal in an interview Wednesday.

He...