LAGUNA BEACH, Calif.—Palantir Technologies Inc. Chief Executive Alexander Karp said he has softened his stance on a potential initial public offering after previously ruling it out.

“We are now positioned so we could go public,” said Mr. Karp at the WSJDLive 2016 global technology conference on Wednesday. “The aggregate business will be profitable next year.”

The...