Headless Converter
Converts frontend to JSON response when request is done with certain conditions.
Consider an alternative
Headless Converter shows warning signs in 2026 β compare the alternatives below before installing. Was last updated 5 years ago, and scores 21/100 on our health check.
- Small user base (<10 active installs)
- Very few reviews so far
- No update in 4 years
- Only tested up to WordPress 5.9 (latest is 7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release β each site that auto-updates counts as a download.
Rankings
Where Headless Converter stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| converter | >100 |
| headless | >100 |
| JSON | >100 |
About Headless Converter
From the official readme Β· v1.0.6Description
Converts frontend to JSON response when request is done with certain conditions.
Inspiration
After creating a bunch of headless WordPress + Web app stacks, I wanted to find a standard and a all-round solution for fetching per page information for web applications inside WordPress. Built-in rest api works fine in basic cases, but it doesn’t support querying by path. Usually this meant that for each project developers would create a custom rest endpoint which would return expected content using content type and slug parameters.
WordPress has few built-in functions to retrieve content by path, url_to_postid and get_page_by_path, but they don’t seem to work with multilanguage plugins, taxonomy or archive pages, which means that WP doesn’t have a reliable way to fetch content this way through rest api.
This plugin converts frontend to JSON which seems after above solution the best way to do things, with added layer of security through application passwords (WordPress v5.6 feature) and a filter, which let’s developers alter outgoing data.
How to start using the plugin
- Install and activate this plugin in your environment
- Create application password for a user with administrator role
After above steps have been made, make a request to a page with added Authorization header. See data fetching examples at the end of this documentation for more help
Modifying the output
Plugin outputs current page’s Post object or null. This can be modified using headless-converter-modify-data-filter. You can either modify passed in post object or do your own logic like in the example below.
/**
* Modifies Headless Converter plugin's output.
*
* @param WPPost|null $post - Current template's post object
*/
function modify_headless_converter_output($post) {
if(is_404()) {
return "this block renders 404 page content";
} else if(is_page()) {
return "this block renders page post types content";
} else if (is_singular('post')) {
return "this block renders single post content";
} else if(is_home()) {
return "this block renders post archive";
} else {
return $post;
}
}
add_filter('headless-converter-modify-data', 'modify_headless_converter_output');
Data fetching examples
Fetch
const username = "admin"
const password = "1111 1111 1111 1111 1111"
const url = "http://localhost:3000/?page_id=2"
const opts = {
headers: {
'Authorization': 'Basic ' + btoa(username + ":" + password)
},
}
fetch(url, opts).then(r => r.json()).then(console.log)
Axios
const axios = require("axios")
const username = "admin"
const password = "1111 1111 1111 1111 1111"
const url = "http://localhost:3000/?page_id=2"
const opts = {
auth: {
username,
password
}
}
axios(url, opts).then(r => r.data).then(console.log)
Changelog
1.0.0 (2020-10-08):
- Initial release
1.0.1 (2020-10-08):
- Remove unnecessary stuff from the plugin folder
1.0.2 (2020-10-20):
- Add FAQ about enabling application passwords
1.0.3 (2020-11-15):
- Update and prune repository dependencies
1.0.4 (2020-11-15):
- Run repository through a linter
1.0.5 (2020-11-16):
- Fix documentation
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own β no account needed.
Best Headless Converter alternatives
All converter plugins βFAQ
Headless Converter: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Headless Converter free?
Yes. Headless Converter is free to download and use from the official WordPress.org plugin directory.
Is Headless Converter safe to use in 2026?
Headless Converter shows warning signs in 2026 β compare the alternatives below before installing. Was last updated 5 years ago, and scores 21/100 on our health check.
How many websites use Headless Converter?
Headless Converter is active on <10 WordPress websites and has been downloaded 2,951 times since it launched in October 2021. It was downloaded 39 times in the last 30 days.
Does Headless Converter work with WordPress 7.1?
Headless Converter is officially tested up to WordPress 5.9.21, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does Headless Converter need?
Headless Converter requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Headless Converter last updated?
The latest version, 1.0.6, was released on January 28, 2022 (5 years ago).
Who makes Headless Converter?
Headless Converter is developed and maintained by Atte Liimatainen.
What are the best alternatives to Headless Converter?
The most popular alternatives to Headless Converter are Post Type Converter (1K+ installs), Crypto Converter ①Widget (1K+ installs) and Multi Currency For WooComme⦠(900+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
