This ^^ , or...
I have one of these:
Zoom B1on
https://www.amazon.co.uk/Zoom-B1on-Bass-Effects-Pedal/dp/B00JLEHMG6
I'm not certain, but this might give you what you want, and a bit more besides.
If you want to plug 2 instuments simultaneously, you could get one of these:
Y Splitter
https://www.amazon.co.uk/kenable-6-35mm-Socket-Splitter-Adapter/dp/B003OSTW9U/ref=sr_1_3?s=electronics&ie=UTF8&qid=1542894657&sr=1-3&keywords=guitar+y+splitter