You can translate this in an active form. Alternate translation: "If someone wrote down all of them" (See: [[rc://en/ta/man/translate/figs-activepassive]])
# even the world itself could not contain the books
John exaggerates to emphasize that Jesus did many more miracles than what people could write about in many books. (See: [[rc://en/ta/man/translate/figs-hyperbole]])
You can translate this in an active form. Alternate translation: "the books that people could write about what he did" (See: [[rc://en/ta/man/translate/figs-activepassive]])