Project HTMLifier

Convert a Scratch project to HTML

(An HTML file that can be opened and used in the browser without an internet connection)

This packages your Scratch project into a single HTML file that can run on its own in a web browser. The HTML file will be pretty big because it contains the entire Scratch engine (2.6 MB) and the costume and sound files used in the project. There is no direct translation between a Scratch block and a JavaScript equivalent because the two languages are fundamentally different, so you should not use the code in the generated file for learning HTML or JavaScript after Scratch.

The project will automatically start, and there are no green flag or stop sign buttons.

Options

(the text displayed in the browser tab)

(the value that the username block reports)

2

3

Monitor style

Cloud variable source

1

4

E羊icques (modded) options

If you want to view or edit the HTML file, you can use the specialized Large File Editor to hide the long lines that may hang or crash normal text editors.

1You may have to deal with privacy laws around cookies outside of Scratch.

2Compatibility mode forces projects to run at 30 FPS, like in Scratch 2.0. Turning this off allows the project to run at a higher framerate (usually 60 FPS, depending on the computer screen's refresh rate).

3I think the implementation of this is poor. Maybe instead of setting mouse x/y, it can set a cloud variable with a certain name. You can leave feedback and suggestions on my profile.

4If a cloud variable with the name "☁ eval" is set, it'll run the variable value as JavaScript and store it in a cloud variable named "☁ eval output"; if there is an error, it'll be stored in "☁ eval error." If you're using a custom cloud server, then cloud variables whose names start with "☁ local storage" will store their values in localStorage instead of in the server.

Update history

See the code and previous versions on Github.

2020-06-13

2020-06-01

2020-05-01

2020-03-29

2020-03-27

2020-01-06

2019-12-25

2019-11-23

2019-10-05

2019-09-28

2019-08-08

2019-07-27

2019-07-13

2019-06-29

2019-03-31

2019-02-09

Made by Sheep_maker, who used scratch-vm, download.js, and their dependencies for this project.

CSS by Mr. Cringe Kid.