paginate_links with select option

Here is the snippet for archive navigation with previous and next link along with the select dopwdown. Select will contain the list of all pages and page url as value of option. onChange is used to redirect page when select option is changed. You can use following code and modify as per your need.

function wpso_custom_archive_navigation() {
    global $wp_query;
    if ( is_singular() ) {
        return;
    }
    if ( $wp_query->max_num_pages <= 1 ) {
        return;
    }
    $paged = get_query_var( 'paged' ) ? absint( get_query_var( 'paged' ) ) : 1;
    $max = intval( $wp_query->max_num_pages );

    // Previous link.
    if ( get_previous_posts_link() ) {
        printf( '%s', get_previous_posts_link( 'Previous' ) );
    }

    echo '<select onChange="window.document.location.href=this.options[this.selectedIndex].value;">';
    for ( $i = 1; $i <= $max ; $i++ ) {
        echo '<option value="' . esc_url( get_pagenum_link( $i ) ) . '" ' . selected( $i, $paged ) . '>';
        echo 'Page ' . $i;
        echo '</option>';
    }
    echo '</select>';

    // Next link.
    if ( get_next_posts_link() ) {
        printf( '%s', get_next_posts_link( 'Next' ) );
    }
}