Build something, put it on your resume instead of job. Make it free, try to get users, add testimonials to your resume too.
Makes it a lot easier to explain the gap. “What did you do the last x months?” “This, look”