Every WordPress generator, one place.
Fill in a form, get production-ready PHP. Post types, taxonomies, queries, hooks, readme files — with live previews of what you're actually building.
// Register the "Recipe" post type add_action( 'init', function() { register_post_type( 'recipe', [ 'labels' => [ 'name' => 'Recipes', 'singular_name' => 'Recipe', ], 'public' => true, 'has_archive' => true, 'menu_icon' => 'dashicons-carrot', 'supports' => [ 'title', 'editor', 'thumbnail' ], 'show_in_rest' => true, ] ); } );▍
See it before you ship it
Generators render a live preview of the result — a WordPress.org listing, an admin screen, a query result set — next to the code, so you catch mistakes here instead of in staging.
Editors, not just forms
Long-form fields are real editors. Drag blocks around, format text, reorder sections. The PHP or txt output regenerates as you work.
Output you can actually use
Copy the snippet, download a single .php file, or take a zip-ready plugin scaffold with the header, folder structure and hooks already in place.
Most useful tools
All 49 generators →Browse by category
All 49 generators →Frequently asked
Is WP CodeKit really free?
Yes — every generator is free and anonymous. There's no account, no plan and no paywall on the copy or download step.
Is the generated code production-ready?
Nonces and sanitisation are added wherever WordPress expects them, and defaults match WordPress core's own choices instead of our opinions. As with any generated code, review it before shipping.
Do I need to install a plugin to use it?
No. Everything runs in your browser — paste the generated PHP straight into your own plugin or theme.
Does WP CodeKit store or upload my code?
No. Nothing you type is sent anywhere — every generator runs entirely client-side, in your browser.
Which WordPress version does the generated code target?
Current WordPress core APIs. Where a function needs a specific minimum version — WooCommerce's Blocks Checkout API, for instance — the generator notes it.
Can I request a generator that doesn't exist yet?
Yes — use the contact form and tell us which function or workflow you keep writing by hand.
Tell us which function or workflow you keep writing by hand.