You can delete any Pen that you own. There are two ways you can delete a Pen:

  1. From the Pen Editor. Open the Pen Actions menu and use the Delete option.
  2. From any Grid or List View of Pens (e.g. your profile, the Your Work page, etc.)

Deleting a Pen permanently deletes its hearts, views, comments, and tags.

Recovering Deleted Pens

A copy of a deleted Pen is saved to the “Deleted” tab of Your Work for three days after deletion. You can restore the copy to your account within 3 days of deletion. Restoring a deleted Pen will only restore the code, not the hearts, views, and comments or original URL.

Deleted Pens are permanently deleted 3 days after you originally deleted the Pen and it was moved to the Deleted area, or you choose to Delete Permanently from the button there. It is not possible to restore a permanently deleted item.

Permanently Delete a Pen Immediately

Deleted items are permanently removed from your account three days after you delete them. But, it is possible to permanently delete them earlier.

If you are absolutely certain that you want to delete a Pen that is in your Deleted Items, click the “Delete Permanently” button next to the Pen’s title in the “Deleted” tab. This will immediately and permanently delete the Pen. It is not possible to recover a Pen that has been permanently deleted, so do not take this action unless you are certain that you do not want the Pen in your account.

Deleting & Collaborators

You may invite Collaborators who have editing access to your Pens. Collaborators may edit code, add/delete files, and generally have complete access to the Pen. But they cannot delete it. Only the owner can delete a Pen.