Based on the tables and rules in Xanathar's Guide to Everything, pages 61-73.

NOTE: Text displayed in italics is generated for the sake of ease and speed of use, and does not correspond to a table in the original generator. Ignore it as you see fit.