The invention provides a method for editing documents. The method comprises the following steps: 102, analyzing an input document, representing the
detailed data of the document through a table, and representing other data of the document by
label data items; 104, editing the content of the table and the contents of the
label data items; and 106, updating the document according to the edited content of the table and the edited contents of the
label data items. The invention also provides a document editing device. By the technical scheme, after the document is analyzed, the document can be presented to users in an intuitive mode, and the users can edit or modify the document conveniently.