You can publish and sell ebooks online through self-publishing platforms like Amazon Kindle Direct Publishing. Self-publishing platforms make it easy to get your book in front of a large audience.