How can I copy the filenames of attachments in Gmail?
I can't find a good way in the new interface that was introduced last year:
I don't want to have to download the attachment to get the filename.
The easiest thing I've found is to select "Show Original" from the message menu, then search with my web browser (Ctrl+F) for "Content-Disposition". That jumps me to the part of the email message where the attachment (or one of the attachments) is encoded. One of the pieces of meta data is the filename.
We faced the same issue. I've found the easiest way to just copy the filename is to:
- Click on the download link, as if you were to download the file.
- When the pop-up window opens, copy the filename and cancel the download.
Click on the flipped corner in the bottom right of the attachment. It will open the attachment in preview mode. You can copy the file name in the bar at the top left.
Alternative
You can copy the file name directly from the email if you switch to basic HTML view of gmail using this link:
https://mail.google.com/mail/?ui=html&zy=h
Gmail will look a lot different and may not have all the functionality that the standard view does. For more info on Standard View vs basic HTML view see this Google Help Article.
Alternative 2
This way is probably not ideal but it does work - I've also only tried this in Firefox and Chrome. If you right click directly on the file name text on the attachment like this
Then choose Inspect Element
. It will open the Developer tools and you should see a span element that has your file name. You can copy the filename directly from there.
Install extension "Copy Link name" at https://chrome.google.com/webstore/detail/copy-link-name/mafjnaphoepgijmgfeemillelgkeigid.
Put cursor over attachment filename, right-click and select Copy Link name.