Gutenberg Block Generator
Scaffold a complete custom block plugin: the plugin file, block.json, the editor script, the render or save, and both stylesheets.
register_block_type( __DIR__ . '/build' );Block API v3 →Production-tested code generators, converters and formatters crafted for modern WordPress engineers and agency teams. 100% free and executed client-side.
Scaffold a complete custom block plugin: the plugin file, block.json, the editor script, the render or save, and both stylesheets.
register_block_type( __DIR__ . '/build' );Block API v3 →Turn any YouTube link into a responsive embed, on the nocookie host, lazily loaded, with a real frame title and an aspect ratio instead of a fixed height.
youtu.be/… → a responsive, lazy, nocookie embedYouTube IFrame API →Formats YAML and reports the quiet mistakes: key:value with no space, duplicate keys, tabs in indentation, and YAML 1.1 versus 1.2 values.
debug: no → a string, not falseArithmetic →Indent or minify XML and check it is well formed, with the line and column of any problem. Comments, CDATA and mixed content are left as they were.
<a><b>1</b></a> → <a>\n <b>1</b>\n</a>XML 1.0 →Generate a WP_Widget subclass with its form, update and widget methods, correctly escaped, plus the registration.
class Acme_Widget extends WP_Widget {widgets →Build a WP_User_Query: roles, capabilities, search, meta conditions, ordering and the fields to select, without loading every user on the site.
new WP_User_Query( array( 'role' => 'author' ) );WP_User_Query →Build a WP_Term_Query or get_terms() call: taxonomy, hierarchy, empty terms, ordering, meta conditions and the fields you actually need.
get_terms( array( 'taxonomy' => 'category' ) );WP_Term_Query →Build a WordPress tax_query array: taxonomies, term fields, operators, child term handling and the relation between clauses, ready for WP_Query.
'tax_query' => array( array( 'taxonomy' => 'genre' ) )WP_Query →get_sites() arguments with the spam, deleted and archived flags set explicitly, because their default is null and null means either.
The defaults include spam and deletedWP_Site_Query →Build WP_Query arguments with post type, ordering, taxonomy and meta conditions, dates and pagination, then copy the loop.
$query = new WP_Query( $args );class-wp-query.php →Generate valid, ready-to-paste WordPress code in seconds without configuring a local runtime.
Your input is never uploaded
No submit button, no waiting
Copy, download or share a link
Built by Pixarlabs for WordPress
Clean output that follows WordPress conventions, no bloat, and everything computed in your browser.
Tools run in your browser. Database names, prefixes and secret salts you type are never sent to a server.
$ uploaded: 0 bytesGenerated code uses translatable labels, safely quoted values and the core hooks WordPress expects.
$ add_action( 'init', 'register_book' );Copy the result, download a ready file, or share a link that restores your settings.
$ download wp-config.php