Import, export & code

Download your code, export to GitHub, import HTML or Figma designs.

Articles

Can I download my site's code?

Can I download my site's code?

Yes, on a paid TeleportHQ plan (Pro or Premium) you can download a website's code as HTML, React, Next.js, Vue, Nuxt or Angular, or export it to GitHub; a trial only lets you view the code (10 code views), and web apps can't be downloaded as code.

How to view your site's code

How to view your site's code

In the TeleportHQ editor, click Code at the top right to open the Code tab, pick a format such as HTML or React, then browse the generated files and copy any of them; a trial workspace gets 10 code views, Pro and Premium unlimited.

How to download your site as code (React, Next.js, Vue, HTML and more)

How to download your site as code (React, Next.js, Vue, HTML and more)

On a paid TeleportHQ plan (Pro or Premium), click Code at the top right of the editor, open the Download tab, pick a format such as HTML, React or Next and click Download ZIP to save your website's source code; a trial can't download code and web apps can't be downloaded.

How to export your project to GitHub

How to export your project to GitHub

On a paid TeleportHQ plan, open Code → Download, pick a format, click Export to GitHub, paste a classic GitHub personal access token with the repo scope and click Export to GitHub again; TeleportHQ creates or updates a repository with your website's code.

How to import HTML and CSS code

How to import HTML and CSS code

In the TeleportHQ editor, click Import HTML / CSS / JS in the bottom toolbar (or paste HTML onto the canvas), paste plain HTML with its CSS in the HTML Import window and click Save; TeleportHQ turns it into editable elements and classes.

How to import a website from a ZIP file

How to import a website from a ZIP file

To move an existing HTML website into TeleportHQ, zip its HTML, CSS, JavaScript and image files (up to 50 MB), click Import Project (ZIP) in the editor's bottom toolbar or drop the ZIP on the canvas, and confirm; TeleportHQ creates one page per HTML file.

How to install the TeleportHQ Figma plugin

How to install the TeleportHQ Figma plugin

Install the free "TeleportHQ - Design to Code" plugin from its Figma Community page (linked from Import from Figma and from Figma Plugin on the TeleportHQ dashboard), then run it in any Figma design file from the plugins menu to export frames to TeleportHQ.

How to turn a Figma design into a website

How to turn a Figma design into a website

In Figma, select your frames, run the TeleportHQ - Design to Code plugin and click Export as a new project to open them as a new TeleportHQ project, or click Copy Objects to Clipboard and paste into an existing project; use auto layout for the best result.

How to add code to every page (head and body)

How to add code to every page (head and body)

In the TeleportHQ editor, click the Project settings cog at the bottom of the left sidebar, open Data & code → Custom code, choose Head or Body and paste your script, style, meta or link tags; the code saves itself and runs on every page of your published site, but not on the editor canvas.