YouTube Embed Code Generator. Generate an iframe for an existing YouTube video. Runs directly in your browser.
Tool settings
Processed in your browser
Loading tool…
Your result
Ready when you are
Add your input and select Generate.
About the tool
Generate an iframe for an existing YouTube video.
Use the input labels to check the expected value and unit.
Use the built-in example to check the input format and review the result. Then replace the example values with your own and run the tool again.
Example
Typical settings from the built-in example are YouTube video URL: https://www.youtube.com/watch?v=dQw4w9WgXcQ; Player width: 560; Player height: 315; Use privacy-enhanced domain: on. The result panel displays the output and any available copy or export actions.
How to use YouTube Embed Code Generator
Prepare the input. Use the input labels to check the expected value and unit.
YouTube video URL Enter the value requested in this field.
Player width Enter a number in the unit shown (minimum 1).
Player height Enter a number in the unit shown (minimum 1).
Use privacy-enhanced domain Turn this option on only if you want the behavior described by its label.
Run the tool. Select Generate and wait for the result panel to update.
Check the output. The result panel displays the output and any available copy or export actions.
Save or start again. Use the available download or copy action, or select Reset to restore the form and clear the previous output.