The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Intermediate & Advanced SEO
    4. Benefits/drawbacks to different Schema markup languages (ie. JSON-LD, Microdata, RDFa)

    Benefits/drawbacks to different Schema markup languages (ie. JSON-LD, Microdata, RDFa)

    Intermediate & Advanced SEO
    5 2 3.7k
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Brian_Dowd
      Brian_Dowd last edited by

      Just a question (or questions) I have wondered about. What's the difference, besides the actual encoding, between the three? Why have three? Why not just the one? Seems to me that Microdata is the easiest, but maybe I am wrong. Is there a reason to use one versus another? I have not found anything explaining this on schema.org - I suppose this is just a discussion versus getting one right or wrong answer. I am just curious of the opinions of people in the SEO MOZ community. Unless of course there is one answer. I'll take that too.

      1 Reply Last reply Reply Quote 1
      • Mobilio
        Mobilio last edited by

        So far we have Microdata, RDFa and JSON-LD.

        I'll cover Microdata and RDFa in same because they're similar. So they both are addition to HTML attributes indicating what Schema.org field names correspond with what user-visible text on the page. Works perfect but need lot of developer work and designer changes. Because both backend (admin interface) and frontend (HTML) must be changed. And there are many issues that can be messed - incorrect implementation, "rich snippet spam", software bugs, etc. Look easy as 1-2-3 but in reality it's pain (PIA) for implementation and support. Example - only product implementation require in backend least 10 edit boxes if they're manual filled.

        JSON-LD - it's relative new protocol based on Schema.org. The main benefit is that you split representation layer (HTML) from semantic layer (JSON-LD). In prev. formats - they're same and linked each other. Now they're split. This give you much more freedom than before. You can place HTML data whatever you wish and just add hidden JSON in head or in content that will add semantic marking. This is future (for now).

        If you wish to read more about creation of JSON-LD then this article is for you:
        http://manu.sporny.org/2014/json-ld-origins-2/

        1 Reply Last reply Reply Quote 6
        • Brian_Dowd
          Brian_Dowd last edited by

          Hi Peter,

          Thanks for the answer. So, as I understand it, and keep in mind this is coming from someone that is not very code-savvy, with JSON-LD, one could put the script anywhere in the HTML, the header, the body, the footer, etc. and it won't show up on the actual page, but the search engine will be able to read it. This implies that no changing or tweaking of the actual HTML is necessary, no messing around with 's or

          's like you would with Microdata or RDFa, correct?

          A follow up question, if I may, how would you implement something like a "local business" schema with JSON, would you put the script on every page, in the footer perhaps? Or would you just put it on the home page? Does it matter?

          Thanks

          Mobilio 1 Reply Last reply Reply Quote 1
          • Mobilio
            Mobilio @Brian_Dowd last edited by

            That's right. JSON-LD doesn't require change of HTML compared with Microdata and RDFa. And this is one of answers why JSON-LD is beautiful. Second is because you can make changes in JSON-LD without touching HTML. Like adding new fields, parameters, etc.

            About placing. I think that this can be just on home page. Placing in each page is pure rich snippet spam.

            1 Reply Last reply Reply Quote 3
            • Brian_Dowd
              Brian_Dowd last edited by

              Great, Peter. Thanks for the answers. I now understand the difference. Much appreciated.

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              • First post
                Last post
              • Should I have multiple websites for my different brands or one main website with different tabs/areas?
                0
                1
                45

              • For FAQ Schema markup, do we need to include every FAQ that is on the page in the markup, or can we use only selected FAQs?
                effectdigital
                effectdigital
                0
                2
                94

              • SEO benefits/drawbacks of physical address on site.
                nhhernandez
                nhhernandez
                0
                2
                256

              • Json LD e-commerce site with Excellent implementation of all markup features
                Eff-Commerce
                Eff-Commerce
                0
                3
                906

              • Redirect wordpress from /%post_id%/%postname%/ to /blog/%postname%/
                Taiger
                Taiger
                0
                3
                446

              • Of the two examples of markup (microdata, schema) code below, which of the two is better designed for its purpose of Q&A, and what might be suggested to improve upon these lines of code (context: questions and answers within article content.
                RedFrog
                RedFrog
                0
                3
                1.8k

              • Microdata / Schema.org and HTTPS
                Marcus_Miller
                Marcus_Miller
                0
                4
                576

              • Local Business schema / markup
                MiriamEllis
                MiriamEllis
                0
                3
                1.7k

              Get started with Moz Pro!

              Unlock the power of advanced SEO tools and data-driven insights.

              Start my free trial
              Products
              • Moz Pro
              • Moz Local
              • Moz API
              • Moz Data
              • STAT
              • Product Updates
              Moz Solutions
              • SMB Solutions
              • Agency Solutions
              • Enterprise Solutions
              • Digital Marketers
              Free SEO Tools
              • Domain Authority Checker
              • Link Explorer
              • Keyword Explorer
              • Competitive Research
              • Brand Authority Checker
              • Local Citation Checker
              • MozBar Extension
              • MozCast
              Resources
              • Blog
              • SEO Learning Center
              • Help Hub
              • Beginner's Guide to SEO
              • How-to Guides
              • Moz Academy
              • API Docs
              About Moz
              • About
              • Team
              • Careers
              • Contact
              Why Moz
              • Case Studies
              • Testimonials
              Get Involved
              • Become an Affiliate
              • MozCon
              • Webinars
              • Practical Marketer Series
              • MozPod
              Connect with us

              Contact the Help team

              Join our newsletter
              Moz logo
              © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
              • Accessibility
              • Terms of Use
              • Privacy