WebWorld uses a web browser as a world model to improve vision-language models’ ability to generate and fix web code, leveraging the browser’s deterministic execution to verify code changes actually work rather than having the same model both propose and judge repairs. In an iterative cycle, a model suggests improvements that are compiled into interactions the browser tests, and only verified improvements become supervised fine-tuning data. Evaluated models show significant gains on web-generation benchmarks.