GitHub Gist Embedder
Quickly generate the embed code for your GitHub Gists to easily integrate them into your website or blog.
How to Use:
- Find Gist: Go to the GitHub Gist you want to embed.
- 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. - Paste: Paste the copied URL or ID into the "GitHub Gist URL or ID" input field above.
- Generate: Click the "Generate Embed Code" button.
- 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. - Embed: Paste this code into your HTML wherever you want the Gist to appear on your website or blog.
- 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.