Add a bookmark by hitting CtrlD or clicking on the star on the right end of the address bar.
Click on “Remove”.
This can be achieved through the page source code:
- Right click on the page and select ‘View Source’
- Look for the <title> tag
- Select and copy the text.
The above script has the annoying habit of creating a blank page with the title at the top, in plain text, making you have to go back to the page whose title you wanted to copy. At least in Firefox 24.0.
A far more effective script that keeps you on the page is:
You can use the Google Chrome extension Copy URL + Title:
- Copy Page URL
- Copy Page Title
- Copy Page HTML Link
- Copy Page Title and URL
- Copy URL of all Tab
- Copy Title of all Tab
- Copy HTML Link of all Tab
- Copy Title and URL of all Tab
Also available for Opera from https://addons.opera.com/en/extensions/details/copy-url-title/
This bookmarklet copies the title to the clipboard:
How to create a bookmarklet
- Bookmark any web page (e.g. this page) and save it to the Bookmarks Bar (in Chrome) or Bookmarks Toolbar (in Firefox) or Favoutires (in Safari).
- Right click on the new bookmark and choose Edit Bookmark.
- Change the Name to something meaningful, e.g. “Copy Title”
- Click on Save
- Now when you click on the bookmarklet it will copy the title into the clipboard.
- Paste into the destination document or app
This bookmarklet copies the page Title to the clipboard with a single click.
An answer inspired by SΛLVΘ’s answer, although not identical:
Bookmark that page.
In the list of bookmarks, right click on that bookmark, choose Edit, and you will see the name and the url; by default, the name is the tab’s title, unless you modify it
If you need Markdown as the end result, use Chromium Extension Copy Tab Info.
Active tab in current window
- Copy title of active tab in current window as string
- Copy URL of active tab in current window as string
- Copy link of active tab in current window as HTML
- Copy link of active tab in current window as Markdown
- Copy link of active tab in current window as Markdown ordered list item
- Copy link of active tab in current window as Markdown unordered list item
All tabs in current window
- Copy titles of all tabs in current window as text
- Copy URLs of all tabs in current window as text
- Copy links of all tabs in current window as HTML ordered list
- Copy links of all tabs in current window as HTML unordered list
- Copy links of all tabs in current window as Markdown ordered list
- Copy links of all tabs in current window as Markdown unordered list
All tabs in all windows
- Copy titles of all tabs in all windows as text
- Copy URLs of all tabs in all windows as text
- Copy links of all tabs in all windows as HTML ordered list
- Copy links of all tabs in all windows as HTML unordered list
- Copy links of all tabs in all windows as Markdown ordered list
- Copy links of all tabs in all windows as Markdown unordered list
- Use the menu item “More tools” – “Save page as…” (or Ctrl + S).
- When “Save As” dialog box is displayed:
- Delete “.html” suffix from the text in “File name” text box
- Copy the text from “File name” text box (which should be the page title).
- Cancel “Save As” dialog box
Drag page icon to the bookmarks toolbar
One simple way that doesn’t require any extras is to drag the small icon to the left of the URL to the Bookmarks bar (use CTR+Shift+B or Command+Shift+B to show/hide it), and then right-click on the new bookmark, pick Edit and copy the title.
Drag page icon to folder or the desktop
You can also drag the icon to a folder or to your desktop. On most systems this will create a bookmark file and set the page title as file name, from where it can be easily copied.
Drag page icon directly into a rich text document window
If you drag the page icon into Pages, Word, LibreOffice, Notes, etc on OSX this will insert a link with the page title as text and the URL as link target. On Windows and Linux just the plain text URL will be inserted, so it is not as handy, but can still be useful.
For example, the page icon from this SO page can be dragged directly into the reply edit form. Selecting the URL in the address bar and dragging it to an editable field usually has the same effect, and this is the alternative on OSX for example when you want the actual URL to be inserted instead of the linked title in a richtext edit.
Here’s a bookmarklet that copies the title + url in markdown format
There is an extension for it. Copy URL To Clipboard – Chrome Web Store
… use the following one in order to preserve the URL in the address field: