PPTX

Links

Add hyperlinks to shapes and text for interactive navigation

Add clickable hyperlinks to shapes or text runs for web navigation, email links, or internal slide references.

Make an entire shape clickable:

{
  "slides": [
    {
      "children": [
        {
          "shape": {
            "x": "1.3cm",
            "y": "1.3cm",
            "width": "10.6cm",
            "height": "2.6cm",
            "textBody": {
              "paragraphs": [
                {
                  "children": [
                    {
                      "text": "Visit our website",
                      "fill": "0563C1",
                      "underline": "single",
                      "hyperlink": { "url": "https://example.com", "tooltip": "Go to example.com" }
                    }
                  ]
                }
              ]
            }
          }
        }
      ]
    }
  ]
}

Apply a hyperlink to a specific portion of text:

{
  "slides": [
    {
      "children": [
        {
          "shape": {
            "x": "1.3cm",
            "y": "1.3cm",
            "width": "15.9cm",
            "height": "7.9cm",
            "textBody": {
              "paragraphs": [
                {
                  "children": [
                    { "text": "For more info, visit " },
                    {
                      "text": "our documentation",
                      "fill": "0563C1",
                      "underline": "single",
                      "hyperlink": {
                        "url": "https://docs.example.com",
                        "tooltip": "Open documentation"
                      }
                    },
                    { "text": " for details." }
                  ]
                }
              ]
            }
          }
        }
      ]
    }
  ]
}

Use a mailto: URL to create an email hyperlink:

{
  "slides": [
    {
      "children": [
        {
          "shape": {
            "x": "1.3cm",
            "y": "1.3cm",
            "width": "10.6cm",
            "height": "2.6cm",
            "textBody": {
              "paragraphs": [
                {
                  "children": [
                    {
                      "text": "Contact Support",
                      "fill": "0563C1",
                      "underline": "single",
                      "hyperlink": {
                        "url": "mailto:support@example.com",
                        "tooltip": "Send email to support"
                      }
                    }
                  ]
                }
              ]
            }
          }
        }
      ]
    }
  ]
}
PropertyTypeDescription
urlstringExternal URL or mailto: link
slidenumberTarget slide number (1-based)
tooltipstringTooltip text shown on hover
actionstringExplicit action token (e.g. ppaction://hlinksldjump) for round-trip
referenceIdstringInternal placeholder key ({hlink:N}N), preserved across parse

Note: Use either url or slide, not both. slide emits a relationship to slideN.xml plus the ppaction://hlinksldjump action automatically; action/referenceId are for advanced/round-trip cases and rarely need to be set by hand.

Copyright © 2026