The device for examination of the upper gastrointestinal tract equipped with a camera and connections system with the ability to connect a computer, video recorder, video printer and keyboard to describe the resulting image on the screen, characterized in that the device is in the form of a worm-like-shaped capsule equipped with the transparent dome with the camera (1) inside of the front part (2) of a shape similar to a part of a sphere passing smoothly into the flexural part (3) with possibility of extension and a rear part (4) with rounded edges.