Looker admins and other users with the create_public_looks permission can enable public access for a saved Look. For users to be able to enable public access for a Look, an admin must also enable the Public URLs setting.
The first step in any method of public sharing, importing, or embedding is to enable public access on the Look you want to share.
Enabling public access for a specific Look
Public access lets you share your Look with a broader audience. When public access is enabled on a Look, Looker provides a list of shortened, unguessable public URLs. Those URLs allow anyone that you share them with to view the Look's data or its visualization.
To enable public access for a saved Look:
- If you are in Development Mode, select Exit Development Mode.
- Navigate to the Look you want to share.
- Select the Look's gear menu.
- Select Edit Settings. Looker displays the Look Settings window.

- In the Look Settings window, turn on the Public Access option.
- Select Save. This will make the previously grayed out URLs for the Look accessible to you.
Once you have enabled public access for the Look, you can copy its URLs from the following sections of the Look Settings window, allowing you to use the URLs in the following ways:
- URL: Share the Look's data formatted as TXT, CSV, JSON, JSON with visualization labels (
.json_label), HTML, or Excel (.xlsx) by sharing the Look's URL. - Embed Visualization: Publicly embed the Look's visualization in an HTML page with
<iframe>code. - Embed Data Table: Publicly embed the Look's data table in an HTML page with
<iframe>code. - Google Spreadsheet: Export the Look's data into Google Sheets.
- Excel Web Query File: Export the Look's data into Excel.
The following sections walk you through each option.
Sharing Look results through a public URL
To share Look data through a public URL, copy and use the URL from the URL section of the Look Settings window. The 32-character hash that appears in the URL should make it unguessable, so no one will be able to access this data unless you explicitly provide them with this URL.
Anyone who has the URL will be able to access the data without logging in to Looker. Therefore, don't put sensitive data into any public Look.
Changing the format
You can share and access the data in text, JSON, JSON with visualization labels (.json_label), CSV, HTML, and Excel (.xlsx) formats by changing the format extension of the URL. For example:
https://instance_name.looker.com/looks/tRpghtMTZc6ByPHVMJX8hk9FspZx3VjS.txthttps://instance_name.looker.com/looks/tRpghtMTZc6ByPHVMJX8hk9FspZx3VjS.jsonhttps://instance_name.looker.com/looks/tRpghtMTZc6ByPHVMJX8hk9FspZx3VjS.json_labelhttps://instance_name.looker.com/looks/tRpghtMTZc6ByPHVMJX8hk9FspZx3VjS.csvhttps://instance_name.looker.com/looks/tRpghtMTZc6ByPHVMJX8hk9FspZx3VjS.htmlhttps://instance_name.looker.com/looks/tRpghtMTZc6ByPHVMJX8hk9FspZx3VjS.xlsx
When you use .xlsx, Looker always applies the saved Look's value_format and visualization settings. When you use .json_label, Looker uses visualization field labels as keys and skips value_format formatting so that numeric JSON values remain unformatted.
Default application of visualization and value_format settings
Looker always applies the saved Look's value_format settings (except for .json_label, which skips value_format formatting). Looker also applies the saved Look's visualization settings to your public URLs (including .xlsx downloads and .iqy Excel Web Query files), which causes your data to appear similar to a table chart. Any of the following Plot and Series visualization menu settings for the Look apply to the public URLs:
- Show Row Numbers
- Hide Totals
- Hide Row Totals
- Limit Displayed Rows to a maximum of 500 rows shown or hidden
- Show Full Field Name
- Custom labels for each column (JSON files that use the
.jsonextension always use raw field names rather than field labels; use the.json_labelextension to include visualization field labels)
Public URL query parameters and restrictions
You can't override a public Look's saved visualization, value_format, caching, or persistent derived table (PDT) rebuild settings by changing URL query parameters. Public Look URLs ignore the cache, apply_vis, apply_formatting, and rebuild_pdts query parameters (as well as any other unsupported query parameters). Looker always uses cached results when they're available, blocks PDT rebuilds from public Look URLs, and applies the saved Look's visualization and formatting settings (except for .json_label, which skips value_format formatting).
Public Look URLs honor only the following query parameters:
download: Prompts the browser to download the query results as a file attachment.filename: Sets a custom filename for a downloaded file, including Excel Web Query (.iqy) files.title: Sets a fallback filename for a downloaded file whenfilenameisn't specified.open_in_browser: Displays supported results (such as CSV data) inline in the browser instead of downloading a file.
Public Looks can't query System Activity models, such as system__activity, or the legacy i__looker model.
Public embedding with iframe tag
You can embed a Look's visualization or data table into a website using an HTML iframe tag.
If you want to embed the visualization that is saved with your Look, use the Embed Visualization iframe code from the Look Settings window.
If you want to embed the data table that is saved with your Look, use the Embed Data Table iframe code from the Look Settings window.
Public embedded tables cannot be sorted.
It is also possible to view an embedded visualization or data table without inserting the HTML iframe tag into your HTML code.
For other types of embedding, see the Private embedding and Signed embedding documentation pages.
Viewing an embedded visualization or data table without an iframe
To view an embedded visualization or data table without inserting it with an HTML iframe tag, you can paste the embed link in your browser. For example, suppose the iframe link for an embedded visualization looks like the following:
<iframe src="https://mycompany.looker.com/embed/public/CNdbvTys8ZVgQn423Sf4y2GYhy6b6522" width="600" height="338" frameborder="0"></iframe>
In this example, you can view just the embedded visualization by pasting the following URL into your browser:
https://mycompany.looker.com/embed/public/CNdbvTys8ZVgQn423Sf4y2GYhy6b6522
Exporting to Google Sheets
You can also export a Look's data directly into a Google Sheet without having to download it first.
You can also export data directly to Google Sheets using the Google Sheets action from the Looker Action Hub rather than implementing the following method. See the Looker Actions — Google Sheets Best Practices page for more information.
To import the data into a Google spreadsheet, copy the Google Spreadsheet formula from the Look Settings window. Paste the formula into the cell of the Google spreadsheet where you want the upper-left cell of your data to appear, then hit Enter. You might need to refresh the Sheet to see your imported data.
Tips and notes for Google spreadsheets
There are some things to keep in mind when using this method to export data to a Google Sheet:
- Google Sheets are limited to 5 million cells for the entire Sheet, so your data table's columns, rows, or tabs cannot exceed that limit.
- The URL in the Google spreadsheet function points to the saved Look rather than to a specific query. Although this lets you make changes to the data exporting to the spreadsheet, be careful when you update a Look on which a spreadsheet relies. For example, if you overwrite a saved Look, your Google spreadsheet will begin to populate with the new format.
- Looker recommends importing a single Look to any given worksheet (tab) in your Google Sheet. The Google array functions — like
VLOOKUP,HLOOKUP, andARRAYFORMULA— can help you filter, extract, and copy data between Sheets. You can also place results on separate Sheets, then build one main Sheet that graphs it all. - The
ImportXMLfunction is subject to changes within Google Sheets; these changes may have downstream impacts to your workflow in Looker. - You may need to force the data in the Sheet to refresh. See the Exporting Data to Google Sheets Community post for more information.
Exporting to Excel
To import the data into Microsoft Excel, you will need to download a .iqy file by completing these steps:
- Enable public access for the Look as described in the Enabling public access for a specific Look section.
- Save these settings. The Look Settings option for Excel Web Query File will now show a download link next to it.
- Select Download to download the
.iqyfile to your computer.
Read the following instructions for using Looker with Excel spreadsheets on a Mac for more information on how to use the .iqy file depending on your version of Excel. Excel Web Query (.iqy) files always apply the saved Look's value_format and visualization settings.
Both Google and Excel will only interact with servers that have valid SSL certificates. If your Looker instance is hosted by Looker this won't be a concern. However, if you have a customer-hosted Looker instance, your admins will need to have followed these instructions for configuring an SSL certificate for proper HTTPS when they initially set up Looker.
Tips and notes for Microsoft Excel spreadsheets to Mac Office 2011
There are some things to keep in mind when using Looker in combination with Excel spreadsheets on a Mac.
Initial data import
- Download the
.iqyfile to a known location on your computer. - From the Data drop-down menu in Excel's menu bar, select Get External Data > Run Saved Query.
- From the Enable drop-down menu in the prompt, select Query Files.
- Navigate to the saved
.iqyfile. - Select Get Data.
- Select a location in the spreadsheet to place data and select OK.
Refresh Data
- Select Excel's Data tab.
- Select the Refresh Data button.
Tips and notes for Microsoft Excel spreadsheets to Windows Office 2013
There are some things to keep in mind when using Looker in combination with Excel spreadsheets on Windows.
Initial data import
- Download the
.iqyfile to a known location on your computer. - Select the Data tab in Excel.
- Select the Existing Connection button.
- Select Browse for More.
- Navigate to the
.iqyfile. - Select Open.
- Select location in spreadsheet to place data.
Refresh Data
- Select Excel's Data tab.
- Select the Refresh Data button.
For admins: Enabling public URLs
For any of the features that are described on this documentation page to work, you must enable Public URLs.