Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to copy the title of a web page (or what appears within the tab, the part always visible) and paste that text somewhere.

How can I do this in Chrome?

share|improve this question
up vote 16 down vote accepted

Use a bookmarklet:

javascript:window.prompt("Copy to clipboard: Ctrl+C, Enter",document.title);

Credit for this window.prompt trick goes to Jarek Milewski. This bookmarklet also works in ANY browser, even Netscape 3, and not just Chrome.

share|improve this answer
that's a great idea. – Nick Josevski Sep 7 '11 at 6:00
I'm not sure what i'm supposed to do... Your talking about "bookmarklets"? – wizlog Sep 25 '11 at 17:45
@wizlog: Yes bookmarklets. The above link gives step-by-step instructions. Try dragging [Copy Webpage Title](javascript:window.prompt("Copy to clipboard: Ctrl+C, Enter",document.title);) to your bookmarks bar. – William C Sep 26 '11 at 21:05
@wizlog: Sorry, superuser does not support draggable bookmarklet links. – William C Sep 26 '11 at 21:13
Better version of this answer here – Yarin Oct 29 '15 at 16:44

This can be achieved through the page source code:

  1. Right click on the page and select 'View Source'
  2. Look for the <title> tag
  3. Select and copy the text.

view source on a page in Chrome

share|improve this answer
Assuming I understood your question correctly... – Nick Josevski Sep 7 '11 at 3:35
You did... is there a shortcut though? – wizlog Sep 7 '11 at 3:36
View Source keyboard shortcut is: CTRL+U – Nick Josevski Sep 7 '11 at 3:44

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:

share|improve this answer

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

enter image description here

share|improve this answer

Add a bookmark by clicking on the star on the right end of the address bar.

Copy title.

Click on "Remove".

share|improve this answer
Over the address bar or on the right hand side of the address bar? – wizlog Dec 2 '15 at 22:47

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.

enter image description here

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.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .