Nowadays, with the rapid development of Internet, news is growing explosively. In order to improve the practical value of scientific news, an algorithm of text categorization which is used to classify scientific news is designed. The number of scientific news is 16034, which is gotten from web pages. During the experiment, scientific news of life, medical scientific news, scientific news of earth, mathematical and physical scientific news, chemical scientific news and informational scientific news respectively achieved 72.04%, 64.05%, 71.59%, 67.88%, 66.84% and 61.35% accuracy rate. This algorithm gets good effect and improves the value of the scientific news collected from Web and the accuracy of scientific news detailed classification.