Structured Data Generator
Home/Tools/Content Optimization/Structured Data Generator
✎ Content Optimization

Structured Data Generator

v1.0 documentation

Generates JSON-LD schema markup for Article, Product, LocalBusiness, HowTo, BreadcrumbList, and Organization from page content or user input.

URL inputXLSX export
structured_data_generator.py157 lines13 paramsPython 3.8+
Quick start
1

Install

terminal
pip install -r requirements.txt
2

Run

terminal
python structured_data_generator.py --type article --url https://example.com/blog-post
terminal
python structured_data_generator.py --type product --name "Widget Pro" --price 29.99 --currency USD
terminal
python structured_data_generator.py --type local-business --name "Joe's Pizza" --address "123 Main St, NYC"
terminal
python structured_data_generator.py --type howto --url https://example.com/tutorial --output schema.json
3

Export

Add --output report.xlsx to save results as a spreadsheet.

Parameters
FlagDescription
--type requiredType. Options: article, product, local-business, howto, breadcrumbs
--urlPage URL to extract data from
--nameName
--descriptionDescription
--priceProduct price (decimal)
--currencyCurrency
--addressBusiness address
--phoneBusiness phone
--authorAuthor name
--brandProduct brand
--ratingRating value (decimal)
--breadcrumbsBreadcrumb items as name:url pairs. Multiple values allowed
--outputSave JSON to file
help
python structured_data_generator.py --help
Use cases
Content audit
Pre-publish check
Competitive analysis

Analyze existing content to find what needs updating, merging, or removing. Export results and create a content maintenance plan.

Run before publishing new content to ensure it meets quality thresholds. Fix issues before they go live.

Compare your content against top-ranking competitors. Identify gaps and opportunities to improve.

Dependencies

Requires: beautifulsoup4, requests. All included in requirements.txt.

Get all 154 Python SEO tools — $49

One-time payment. Lifetime access. No monthly fees.
Learn 25 tools and get 25% back. Earn from client work and get 50% back.

Get the full toolkit

AAIO Inc — aaioinc.com/tools/structured_data_generator/