Open-sourced Google Workspace Add-on to "un"share Google Drive files that you own with a tap.
Unshare is a Google Workspace Add-on to bulk remove all editors, commenters, and viewers from the selected Google Drive file/folder except for you, the owner. If the target file/folder is shared with a class of users who have general access, for example, if it is shared with the user's domain, that access setting will be changed to Private, where only the users explicitly granted permission can access.
Install this add-on from the Google Workspace Marketplace. You have only to do this once per user; updates to the add-on will be automatically distributed via the Marketplace.
Select the files and folders that you want to "un"share. Click on the add-on's icon on the right side and follow the instructions. That's it!
You can also use this add-on by opening independent files on Google Docs, Sheets, and Slides.
You must agree to the Terms and Conditions to use this add-on.