How to copy a Google search URL from Safari

safari

When I google for images of "apple sauce" (without the quotes), Safari's location bar just displays "apple sauce" (without the quotes) rather than the URL leading to Google searching for apple sauce images.

I want to send someone the search URL. How can I get it from Safari?

Best Answer

Like suggested elsewhere, you can drag the search text from the URL bar into some plain text view. However, one can also directly drag it into a (rich text) email or chat message. Or into Google's search field which is conveniently close to Safari's location bar:

Dragging search terms into search field

(In previous versions, you could drag the magnifying glass icon; in 2016 versions just drag the search text like shown above.)

After dragging into Google's search field, the additional search text is already selected and focussed, ready for Command+C:

After dragging

(In earlier versions, Safari's location bar will still have focus, and the URL in Google's search input will be gray, not blue. In those versions one could first hit Tab after searching to go into Google's search field, hit Delete to clear it, and then drag the icon. After that, the search field is ready for Command+C as well.)

The Share button to the right of the location bar can also share the URL, but probably only when messaging has been configured:

Safari 6 in Mountain Lion Share button

As an aside: the Google URLs include a lot of irrelevant things, specific to your browser, language, etc. Often, it's enough to use www.google.com#q=elvis+is+alive, or for image search www.google.com#tbm=isch&q=elvis+is+alive, but then one needs to change the spaces into plus-characters to ensure it's clickable. (And one also needs to percent-encode other special characters.) It would be nice if Google would provide some bare sharing link on its own site.