DEV Community

Cover image for Stop Writing Schema Markup by Hand: A Free JSON-LD Generator for Local SEO
Teo Stancu
Teo Stancu

Posted on

Stop Writing Schema Markup by Hand: A Free JSON-LD Generator for Local SEO

Most of my agency work involves local businesses/cafes, auto shops, dentists and every single site needs Schema.org markup for LocalBusiness.

I used to write this by hand. Nested JSON brackets, OpeningHoursSpecification syntax, wondering if geo goes inside location or parallel to it.

Then I automated it.

The Tool

Nereteus JSON-LD Generator: https://nereteus.com/tools/json-ld-generator/en/

No signup. No tracking. Just fill the form, get valid structured data, paste it in your <head>.

Why Not WordPress Plugins?

  • They inject 47 scripts and kill your Core Web Vitals
  • Enterprise tools want your email before showing code
  • Most use Schema.org specs from 2019 that Google rejects

This runs on Astro + TypeScript. Client-side only. Your data never hits my server.

Features

  • LocalBusiness subtypes (Restaurant, AutoRepair, Dentist, etc.)
  • Smart Opening Hours with proper Schema.org formatting
  • Physical vs Service Area toggle (crucial for local SEO)
  • Entity building with sameAs social profiles
  • Real-time validation against Google's specs

Quick Implementation (Astro)

---
const schema = {
  "@context": "https://schema.org",
  "@type": "LocalBusiness",
  "name": "Client Business",
  // ... generated automatically
};
---

<head>
  <script type="application/ld+json" set:html={JSON.stringify(schema)} />
</head>
Enter fullscreen mode Exit fullscreen mode

Works the same for Next.js, Nuxt, or vanilla HTML.

The point

Writing Schema markup manually is tedious debugging at 2AM. This generates valid JSON-LD in 30 seconds so you can get back to actual development.

Try it: https://nereteus.com/tools/json-ld-generator/en/

Found a bug or need a specific Schema type? Drop a comment below.

Top comments (0)