Utvikling · verktøy

JSON-LD-skjema-generator

Velg en skjematype, og oppgi bare faktiske detaljer du kan bekrefte.

Kjøres i nettleseren. Ingen opplasting.

Values are processed locally in this browser.

Result

—

Om verktøyet

JSON-LD-skjema-generator sem complicação.

Strukturerte data garanterer ikke utvidede søkeresultater. Ikke legg til vurderinger, anmeldelser, priser eller fakta som ikke er synlige og sanne på siden.

Veiledning

Slik bruker du JSON-LD-skjema-generator

The JSON-LD Schema Generator drafts a short block of structured data for an Organization, a WebSite or an Article. You pick the type, enter a name or headline and the page address, and add a description, logo or date where they apply. It prints plain JSON that uses the schema.org vocabulary, ready for you to review and paste into a page. It does not promise rich results or any search position, and it does not validate the markup.

Slik gjør du

  1. Choose Organization, WebSite or Article from the Schema type menu.
  2. Enter the name or headline (up to 200 characters) and the full page address, starting with http:// or https://. For an Organization or WebSite the address is saved as url. For an Article it is saved as mainEntityOfPage.
  3. Fill only the optional boxes that apply: a logo address for an Organization, or a description and a publication date for an Article. The other types ignore them.
  4. Press Calculate, check the JSON, press Copy result, and place it in a script tag of type application/ld+json on the page it describes.

Eksempler

A business as an Organization

Du skriver inn
Type
Organization
Navn
Acme Bakery
Adresse
https://www.example.com/
Logo
https://www.example.com/logo.png
Du får
@context
https://schema.org
@type
Organization
Navn
Acme Bakery
Adresse
https://www.example.com/
Logo
https://www.example.com/logo.png

The tool writes the type, the name, the page address and, because a logo address was given, the logo. A description typed here would be ignored for this type.

Kjørt med verktøyets egen kode.

A blog post as an Article

Du skriver inn
Type
Article
Navn
How we bake rye
Adresse
https://www.example.com/blog/rye
Beskrivelse
A short guide
Dato
2025-03-05
Du får
@context
https://schema.org
@type
Article
Overskrift
How we bake rye
Hovedside
https://www.example.com/blog/rye
Beskrivelse
A short guide
Publiseringsdato
2025-03-05

For an Article the name becomes the headline, and the address becomes mainEntityOfPage. The description is cut at 500 characters, and the date is written as year-month-day.

Kjørt med verktøyets egen kode.

An address without the https:// part

Du skriver inn
Type
Organization
Navn
Acme Bakery
Adresse
example.com
Du får
Melding
Canonical page must be a complete URL.

Addresses must be complete and start with http or https. No JSON is produced until the address is fixed. Addresses that include a username or password are also refused.

Kjørt med verktøyets egen kode.

Når det er nyttig

  • Draft starter markup for a small business website's home page.
  • Mark up a blog post with its headline, link and date.
  • Learn how a JSON-LD block is laid out by changing the type and watching the output.
  • Produce a clean snippet to hand to a developer for review.

Begrensninger

  • Only three types are offered, and the output holds few fields. An Article has no author, image or modified date, and an Organization has no contact details or social profile links, so add those by hand if they are true and visible.
  • Each optional box applies to one type. The description is used only for an Article, the logo only for an Organization, and the date only for an Article.
  • The tool does not check your markup against any search engine's rules, does not test eligibility for rich results, and cannot tell whether your text matches what is visible on the page.
  • Addresses must be full http or https links. A relative link such as /about is refused, and a date it cannot read gives an error.

Tips

  • Mark up only what visitors can see on the page. Google's guidelines say not to mark up content that is hidden from readers or misleading.
  • After you publish the page, test it with a checking tool such as Google's Rich Results Test, and fix anything it flags.
  • Use the same address as the page's canonical link, and use the name as it appears on the site, so the data and the page agree.

Kilder

Vanlige spørsmål

Sobre JSON-LD-skjema-generator.

What is JSON-LD?

It is a JSON-based format for linked data, set out in a W3C specification. On a web page it lets you describe the page in a structured way that programs can read, by using shared vocabularies such as schema.org.

Where do I put the output on my page?

Wrap it in a script element with the type application/ld+json and place it in the page's HTML. Google's examples put it in the head, and the markup must describe the page it sits on.

Will this get me rich results or a better ranking?

No promise can be made. Google's guidelines page says that even correct markup does not mean a rich result will be shown. This tool makes no claim about rankings or traffic either. Treat the output as a clear label for your content, not as a shortcut.

Which fields does each type output?

Organization gives name, url and an optional logo. WebSite gives name and url. Article gives headline, mainEntityOfPage and, if filled in, description and datePublished. Every block also gets the @context and @type lines.

Why is my page address rejected?

It must be a complete address starting with http:// or https://, with no username or password in it. Entries such as example.com, /about or javascript: links are refused with a message, and no JSON appears.

Can I add ratings, reviews or prices here?

No, the tool has no fields for them. Do not add them by hand unless they are real and shown on the page. Google's guidelines warn against fake reviews and against marking up content that readers cannot see.

Is what I type uploaded?

No. The JSON is built in your browser, and the page says your input is not uploaded to a server.

Hvordan bruker du JSON-LD-generator?

Velg en skjematype, og oppgi bare faktiske detaljer du kan bekrefte.

Lastes dataene mine opp til en server?

Nei. Behandlingen skjer i nettleseren din, og opplysningene dine lastes ikke opp.