How do I delete photos from iCloud but keep them on my phone?

My iCloud storage is nearly full and an easy way to clear space is removing photos. But I want to keep the photos on my iphone. How would i remove the photos off icloud but keep them in my phone library. I don't want to turn photos off in icloud cause i need them syncing to my computer.

Deleting a photo from any device or iCloud deletes it from every other synced location. That's both a convenience (really!) and their sort of sneaky way to get you to buy extra iCloud storage. If the photos are important to you, copy them to another location outside of the Photos app on your computer. Verify that you've got them saved and then you can start doing some housekeeping.

Use google photos