> For the complete documentation index, see [llms.txt](https://guide.maps.gov.sg/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guide.maps.gov.sg/sharing-your-map/embedding-maps-to-your-website.md).

# Embedding Maps on your website

{% hint style="info" %}
You need to [publish your map](/sharing-your-map/publishing-your-map.md) first. The **Embed the map on your website** section appears only after the map is published.
{% endhint %}

{% hint style="warning" %}
Embedding isn't available for [private maps](/sharing-your-map/making-a-map-private.md) — visitors can't sign in inside an embedded frame, so a private map can only be shared via its link or QR code.
{% endhint %}

Click on the **Publish map** icon on the navigation bar on the left.

Click on **Copy Code** under **'Embed the map on your website'** to copy the entire code. You may then paste it into your website editor.

<figure><img src="https://585017024-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeLmzev03OtnqV1VC7eYj%2Fuploads%2Fgit-blob-3e0bd97fe7e9a4b7f1eaf762c510b041e8a29588%2FScreenshot%202025-08-19%20at%206.30.32%E2%80%AFPM.png?alt=media" alt=""><figcaption></figcaption></figure>
