Would I be allowed to make a compilation of all my questions, and the answers they have received, as well as questions answered and their responses from the stack exchange website? I was thinking, this would definitely make for an interesting read, and might even make for a great book, assuming it is allowed. Would I be legally allowed to put this all together into a book and sell it? It would of course list the stack exchange sites that the information resides on.

  • 2
    This compilation's already in your profile.
    – ForceBru
    May 5, 2017 at 21:00
  • @ForceBru I was wondering, am I legally allowed to make a book out of it and sell it if I desire
    – Jonathan
    May 5, 2017 at 21:01
  • 1
    Seeing as how someone is doing it already: meta.stackexchange.com/questions/273989/…
    – Catija
    May 5, 2017 at 21:13

2 Answers 2


All (original) Stack Exchange content is licensed with the CC-BY-SA license. In the words of the license:

You are free to
Share — copy and redistribute the material in any medium or format
Adapt — remix, transform, and build upon the material for any purpose, even commercially.

There are a couple restrictions – you have to provide appropriate attribution for the content, and you can't apply a more restrictive license than this one.

Note that this applies to Stack Exchange's original content generally. You are still the copyright holder of your own content, so you aren't legally required to attribute yourself; only the content created by others.

Also, be aware that some content on Stack Exchange is copied from other sources. This includes egregious copyright violations that simply haven't been deleted yet, but more often it's content hosted here under "fair use" provisions of US law. Either way, if any questions or answers that you publish contain quotations or images created by others who have not licensed their content under terms similar to CC-BY-SA, there may be legal consequences for selling that content, depending on your jurisdiction.

  • I can't imagine there being anything that would be fair use for SE to host on their site that wouldn't also be fair use to put in a book. The real difference is that if a user posts copyrighted content they don't own inappropriately on SE then the DMCA safe harbor means that SE only needs to take it down if asked, and are only liable if they refuse to do so. A published book wouldn't have such a safe harbor clause.
    – Servy
    May 5, 2017 at 21:22
  • @Servy I'm imagining two situations: 1) the content is an egregious violation that SE simply hasn't taken down yet – you could still be sued for selling someone else's essay, and saying you found it quoted here wouldn't get you out of it; and 2) not all countries have the same fair use laws, so if you publish a book outside the US, "fair use" may not fly and the copyright owner could theoretically sue. But, IANAL. May 5, 2017 at 21:27
  • For the first case, that's what I also mentioned, and in that case it's not "fair use" for SE either. For the second, yes, sounds like it'd be relevant.
    – Servy
    May 5, 2017 at 21:30

For all of your own contributions, you own them. You can do whatever you want with them.

For any contributions that aren't yours, the content uses the CC-by-SA licence, meaning you're free to use it, but it needs to be attributed properly and your derived content needs to have the same licence applied to it (meaning that anyone must be allowed to re-distribute any of the content of your book, so long as it's cited).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .