Start a blog. Blogging is a tried-and-true method for writers to make money online.
Create blog posts (for others).
Establish a niche website.
Self-Publish a book.
Create affiliate content.
Write scripts for video creators.
Write show notes for podcasts.
Create written content for social media.