You asked

Which camera replaces the sony rx10 ii if I want something that fits in a pocket?

The site's catalogue has no pocket-sized camera that directly replaces the Sony RX10 II. Its 8.8-73mm lens frames like 24-198mm on full frame, and that long zoom is the main reason it's a bigger camera. Its successors in the catalogue, the Sony RX10 III and the Sony RX10 V, keep the same zoom-first design with a 1-inch sensor. Their pages don't give their size, so the guide can't say either would fit a pocket.

For pocket size, the guide points to a different kind of camera. The first camera page suggests a 1-inch sensor compact with a zoom, such as the Sony RX100 series, as the smallest step up from a phone that still feels like a camera. You keep a similar sensor size but give up the RX10 II's reach and its f/2.8 aperture across the whole zoom.

If you'd rather use a fixed focal length, the street page lists two pocket-friendly options. The Ricoh GR, with a 28mm-equivalent lens, fits in a trouser pocket. The Fujifilm X100 series, with a 35mm-equivalent lens, has a hybrid viewfinder and lovely dials. Both are much wider than the RX10 II's zoom reaches, so you'd trade telephoto for size. Those pages don't give prices, so the guide can't compare costs.

Written by Claude from this site's pages.

From these pages

This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.