Why iframe, not a script
An iframe sandboxes the widget completely: its CSS and JavaScript can't touch your page and your page can't touch it. That makes it safe to drop onto any site without worrying about style collisions or security. A script-injection embed is more flexible but riskier; for a converter, the iframe is the right trade-off.