I'm looking for the equivalent of the RTA header for websites but for ePub - something I can put in the metadata section to label the ePub as intended for an adult audience and not suitable for children.

Does such a standard opt-in content rating system exist?

3 Answers 3


Excellent question. To my knowledge there is no equivalent function in epub. In a web browser, RTA is done on the meta tag in your browser. But with epubs, you already have to store your Dublin Core metadata in the package.opf file, so there is no need to do so on individual html files.

I skimmed the Dublin Core metadata and did not see anything for an Adult label, although perhaps genre/audience/subject might be relevant here.

I knew that when you sell your ebook, Amazon or Google Play ask you to put a put it in a category (I later learned that they correspond to BISAC codes). An Oreilly article mentions other categorization schemes like marc and onix.

To summarize: The book creator usually can mention certain DC values which will be wrapped up in the epub. But I don't know of ebook reading systems which are using it to prevent the user from viewing it. On the other hand, when you submit your ebook to an ebookstore, they usually ask you to give some values that would allow the store to prevent younger readers from seeing it or buying it.

But what if you are selling directly from your own website? What can you do? In addition to RTA labeling, you can require some proof of age to access the page or file. Ultimately though, when you are dealing with DRM-free ebook files, there is nothing preventing an underage user from loading it into an ebook reading system.


Schema.org provides an age range tag:

<meta property="schema:typicalAgeRange">[start]-[end]</meta>

where [start] and [end] are numeric ages, and either (but of course not both) may be omitted. So adult material could be flagged as:

<meta property="schema:typicalAgeRange">18-</meta>

Whether any website will actually look for this tag is another matter, though.


What about contentRating? I guess

  <metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf">
    <dc:identifier opf:scheme="UUID" id="BookId">urn:uuid:d09b7719-3094-492e-b817-bbffea9562a1</dc:identifier>
    <dc:title>[Title here]</dc:title>
    <meta property="schema:contentRating">Mature</meta>

could work?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.