GitHub Gist Embedder

Quickly generate the embed code for your GitHub Gists to easily integrate them into your website or blog.

Enter the full Gist URL or just the unique ID.

How to Use:

  1. Find Gist: Go to the GitHub Gist you want to embed.
  2. Copy URL or ID: Copy the full URL (e.g., https://gist.github.com/username/1234567890abcdef1234567890abcdef) or just the unique Gist ID (1234567890abcdef1234567890abcdef) from the browser's address bar.
  3. Paste: Paste the copied URL or ID into the "GitHub Gist URL or ID" input field above.
  4. Generate: Click the "Generate Embed Code" button.
  5. Copy: The generated <script> tag will appear in the "Generated Embed Code" area. Click the "Copy Embed Code" button to copy it to your clipboard.
  6. Embed: Paste this code into your HTML wherever you want the Gist to appear on your website or blog.
  7. Clear: Use the "Clear All" button to reset the tool.

Gist embed codes typically look like this:

<script src="https://gist.github.com/username/gistid.js"></script>
This tool simplifies generating that script tag.