Solutions to nonlinear dispersive partial differential equations (PDEs) can have a blow-up in finite time, i.e., a loss of regularity with respect to the initial data. In this talk we focus on equations from the familiy of Korteweg-de Vries and nonlinear Schrödinger equations. We discuss various numerical approaches to study the appearence of blow-up and the blow-up mechanism.